1. Install the Packages (Git, JDK, flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev, build-essential, zip, curl) using the follwing command root@testpc-linux:~# sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev 2. Install Valgrind using the following command. root@testpc-linux:~# sudo apt-get install valgrind 3. Install Repo with the following commands. root@testpc-linux:~# cd ~ root@testpc-linux:~# mkdir bin root@testpc-linux:~# echo $PATH root@testpc-linux:~# curl http://android.git.kernel.org/repo >~/bin/repo root@testpc-linux:~# chmod a+x ~/bin/repo 4. Initialize a Repo client with the following commands root@testpc-linux:~/bin# mkdir mydroid root@testpc-linux:~/bin/mydroid# cd mydroid root@testpc-linux:~/bin/mydroid# repo init -u git://android.git.kernel.org/platform/manifest.git gpg: keyring `/root/.repoconfig/gnupg/secring.gpg' created gpg: keyring `/root/.repoconfig/gnupg/pubring.gpg' created gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created gpg: key 920F5C65: public key "Repo Maintainer " imported gpg: Total number processed: 1 gpg: imported: 1 Getting repo ... from git://android.git.kernel.org/tools/repo.git android.git.kernel.org[0: 204.152.191.45]: errno=Connection timed out android.git.kernel.org[0: 130.239.17.12]: errno=Connection timed out android.git.kernel.org[0: 149.20.20.141]: errno=Connection timed out android.git.kernel.org[0: 199.6.1.176]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out) root@testpc-linux:~/bin/mydroid#