1.git:
root@ubuntu:~# git
The program 'git' is currently not installed. You can install it by typing:
apt-get install git
root@ubuntu:~# apt-get install git
root@ubuntu:~# apt-get install git-core
2. curl:
root@ubuntu:~# curl
The program 'curl' is currently not installed. You can install it by typing:
apt-get install curl
root@ubuntu:~# apt-get install curl
3. root@ubuntu:~# apt-get install gnupg
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnupg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
4. root@ubuntu:~# apt-get install flex
root@ubuntu:~# flex -V
flex 2.5.35
5. root@ubuntu:~# apt-get install bison
root@ubuntu:~# bison -V
bison (GNU Bison) 2.4.1
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
一条命令总结如下:
root@ubuntu:~# apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
java jdk5从java网站下载bin后手动单独安装。