1.sudo passwd root
apt-get update
2.12.04 software
apt-get install git-core gnupg flex bison gperf build-essential zip
apt-get install curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386
apt-get install g++-multilib mingw32 openjdk-6-jdk tofrodos
apt-get install python-markdown libxml2-utils xsltproc zlib1g-dev:i386
2.java6
vi /etc/apt/sources.list
and add
deb http://mirrors.163.com/ubuntu/ hardy main multiverse
then apt-get update
apt-get install sun-java6-jdk
3.tools
apt-get install openssh-server git tftp tftpd xinetd samba smbfs nfs-kernel-server gedit vim wine subversion
apt-get install gnome-mplayer
4.LVPM.deb
apt-get -f install
dpkg -i LVPM.deb
5.安装五笔输入法
apt-get install ibus-table-wubi
找回消失的IBus图标:
在终端输入:
ibus-daemon -drx
6.chm文件阅读
apt-get install chmsee
使用星际译王提供的词典
apt-get install goldendict
6.cross compile android
1)致命错误: uuid/uuid.h:没有那个文件或目录
fix:apt-get install uuid-dev
ln -s /lib/i386-linux-gnu/libuuid.so.1 /usr/lib/libuuid.so
2)external/mtd-utils/mkfs.ubifs/compr.c:28:23: 致命错误: lzo/lzo1x.h:没有那个文件或目录
fix:apt-get install liblzo2-dev
skipping incompatible /usr/lib/x86_64-linux-gnu/liblzo2.so when searching for -llzo2
3)make: *** [out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/mkfs.ubifs] 错误 1
fix:apt-get install liblzo2-dev:i386
make -j4
apt-get update
2.12.04 software
apt-get install git-core gnupg flex bison gperf build-essential zip
apt-get install curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386
apt-get install g++-multilib mingw32 openjdk-6-jdk tofrodos
apt-get install python-markdown libxml2-utils xsltproc zlib1g-dev:i386
2.java6
vi /etc/apt/sources.list
and add
deb http://mirrors.163.com/ubuntu/ hardy main multiverse
then apt-get update
apt-get install sun-java6-jdk
3.tools
apt-get install openssh-server git tftp tftpd xinetd samba smbfs nfs-kernel-server gedit vim wine subversion
apt-get install gnome-mplayer
4.LVPM.deb
apt-get -f install
dpkg -i LVPM.deb
5.安装五笔输入法
apt-get install ibus-table-wubi
找回消失的IBus图标:
在终端输入:
ibus-daemon -drx
6.chm文件阅读
apt-get install chmsee
使用星际译王提供的词典
apt-get install goldendict
6.cross compile android
1)致命错误: uuid/uuid.h:没有那个文件或目录
fix:apt-get install uuid-dev
ln -s /lib/i386-linux-gnu/libuuid.so.1 /usr/lib/libuuid.so
2)external/mtd-utils/mkfs.ubifs/compr.c:28:23: 致命错误: lzo/lzo1x.h:没有那个文件或目录
fix:apt-get install liblzo2-dev
skipping incompatible /usr/lib/x86_64-linux-gnu/liblzo2.so when searching for -llzo2
3)make: *** [out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/mkfs.ubifs] 错误 1
fix:apt-get install liblzo2-dev:i386
4)make: *** [out/target/common/docs/doc-comment-check-timestamp] 错误 45
修改类/media/vision/andromadus/frameworks/base/core/java/com/android/internal/widget/LockPatternUtils.java需要把注解去掉
make -j4