安装Ubuntu16.04
安装远程ssh
安装java 8
sudo apt-get update
sudo apt-get install openjdk-8-jdk
java -version
sudo apt-get install git-core gnupg flex bison ccache gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind libc6-dev lib32ncurses5-dev x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z1-dev libgl1-mesa-dev g++-multilib g++-4.8-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libc6-dev-i386 lib32z1 lib32ncurses5 lib32bz2-1.0 lib32readline-gplv2-dev wine
报错有如下无法定位:
libwxgtk2.8-dev mingw32
lib32bz2-1.0 lib32readline-gplv2-dev
在 Ubuntu16.04 中
libwxgtk2.8-dev 已经升级为 libwxgtk3.0-dev;
lib32bz2-1.0 已经升级为 libbz2-1.0:i386;
lib32readline-gplv2-dev 已经升级为 lib32readline6-dev;
所以:
sudo apt install libwxgtk3.0-dev lib32readline6-dev libbz2-1.0:i386
mingw32 需要在 sudo vi /etc/apt/sources.list添加源:
deb http://us.archive.ubuntu.com/ubuntu trusty main universe
sudo apt update
sudo apt install mingw32
不要忘记退回原来的数据源
需要加大内存和交换区内存