在linux64bit位上,做Android开发,所用脚本

来源:互联网 发布:pdf.js 使用实例 编辑:程序博客网 时间:2024/05/18 23:12
#!/bin/sh

# Sets up an clean Ubuntu 11.04 install for using (or building) Necessitas SDK.

# For Oracle's Java; see:
# http://www.ozmox.com/2011/04/30/installing-sun-oracle-java-6-jrejdk-on-ubuntu-11/
sudo add-apt-repository ppa:ferramroberto/java

sudo apt-get update

sudo apt-get -q -y install ia32-libs

sudo apt-get -q -y install gcc-multilib

sudo apt-get -q -y install g++-multilib

sudo apt-get -q -y install aptitude

sudo apt-get -q -y  install p7zip-full

# Dev tools.
sudo apt-get -q -y  install git-core gitk git-gui git-doc curl

# Needed for QtWebKit.
sudo apt-get -q -y  install gperf

# Dev libs.
sudo apt-get -q -y  install zlib1g-dev zlib1g

# Oracle's Java6; select it when asked.
sudo apt-get -q -y  install sun-java6-jdk sun-java6-jre
sudo update-alternatives --config java

# Dev tools needed for compiling gcc.
sudo apt-get -q -y  install flex bison autoconf texinfo build-essential

# Libraries needed for compiling ??bit gcc (i.e. I might need to find 32 bit versions)
sudo apt-get -q -y  install python2.7-dev xorg-dev

# Libraries needed for compiling 32bit gcc.
sudo apt-get -q -y  install lib32gmp3-dev lib32mpfr-dev lib32ncurses5-dev
# There's no 32bit versoin of this? libmpc-dev

# Libraries needed for compiling 64bit gcc.
# sudo apt-get install libgmp3-dev libmpfr-dev libncurses5-dev


原创粉丝点击