2013年8月23日星期五

Ubuntu environment to build series -Chrome/JDK/Android article

 

fact, every time reinstall Ubuntu system time should be carried out once the basic to the environment configuration, and each would forget some of the environment configuration to something, so we wrote this blog to facilitate their later reinstall the system review, but also to everyone as reinstall the system basic environment to build a reference.

 

because I system is 64, so below are based on 64-bit example, 32 of the Just download 32 the appropriate installation package to perform the same steps to install it, in reference to the time, Note the installation package name to replace your Oh

 

a basic environment, introduction

 

1. system: Ubuntu12.04 LTS x64

 

2. Download: http://www.ubuntu.org.cn/download

 

3. fundamental reasons:

 

1) look at the specific needs of everyone

 

2) generally do not have the latest system, because we have developed need is stability, the latest to the system is not LTS version less stable and LTS has about five-year maintenance period

 

3) We use mainly Python2.7, while 13.04 comes with a Pythoin3,

 

4. The built environment with the crowd:

 

1) LAMP Developer

 

2) Android basic application developers

 

3) Python developers

 

4) Buildbot continuous integration officer

 

two, google-chrome Installation

 

1. Download: http://www.google.com/ intl / zh-TW / chrome / browser /

 

2. according to system version download 32's or 64's, I was 64, so download the 64's,

 

 

3. has been downloaded via the terminal to reach google-chrome browser where to save the address, under normal circumstances is: ~ / Downloads, commands are: cd ~ / Downloads /

 

4. execute commands sudo dpkg-i google-chrome-stable_current_amd64.deb to install, but in the end there will be such a mistake, okay, continue see Step 5

 

  

JAVA_HOME=/usr/local/lib/jdk1.7.0_25 
PATH
="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$JAVA_HOME/bin:"
ClassPath
=$JAVA_HOME/lib:$ClassPath
 
 

 

   

           

   

 

           
  
JAVA_HOME=/usr/local/lib/jdk1.7.0_25 
ANDROID_SDK
=/usr/local/lib/android_dev_tools/sdk
PATH
="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$JAVA_HOME/bin:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools"
ClassPath
=$JAVA_HOME/lib:$ClassPath
 
 

 

       

没有评论:

发表评论