2011年10月19日 星期三

install dart language in ubuntu 10.04 LTS

1.install all required packeages
#apt-get install bison fakeroot flex g++ g++-multilib gperf libapache2-mod-php5 libasound2-dev libbz2-dev libcairo2-dev libdbus-glib-1-dev libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev libpam0g-dev libsqlite3-dev libxslt1-dev libxss-dev mesa-common-dev ttf-mscorefonts-installer patch perl pkg-config python python-dev rpm subversion libcups2-dev libgnome-keyring-dev libcurl4-gnutls-dev libelf-dev ttf-indic-fonts

2.mkdir dart folder to install depot_tools
#mkdir /dart
#cd /dart
#svn co http://src.chromium.org/svn/trunk/tools/depot_tools
#export PATH=$PATH:`pwd`/depot_tools

3.install lib_ssl package
#apt-get install libssl-dev

4.get all source,make a folder without root permission
#cd /home/tommy/
#gclient config http://dart.googlecode.com/svn/trunk/deps/all.deps
#gclient sync

5.change /home/tommy/dart/third_party/gsutil/20110627/
#gsutil config
and use browser to access the url to archieve the authentication code
than reinstall use step 4 procedure