sudo apt-get install git -y
sudo apt-get install gnupg -y
sudo apt-get install flex -y
sudo apt-get install bison -y
sudo apt-get install gperf -y
sudo apt-get install build-essential -y
sudo apt-get install zip -y
sudo apt-get install curl -y
sudo apt-get install libc6-dev -y
sudo apt-get install libncurses5-dev:i386 -y
sudo apt-get install x11proto-core-dev -y
sudo apt-get install libx11-dev:i386 -y
sudo apt-get install libreadline6-dev:i386 -y
sudo apt-get install g++-multilib -y
sudo apt-get install mingw32 -y(可能会报 reading state information ... Done E: Unable to locate package mingw32)
sudo apt-get install tofrodos -y
sudo apt-get install python-markdown -y
sudo apt-get install libxml2-utils -y
sudo apt-get install xsltproc -y
sudo apt-get install zlib1g-dev:i386 -y
如果更新sudo apt-get install mingw32 报错Unable to locate package mingw32
可以使用如下方法解决 sudo gedit /etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu trusty main universe
更新源后,就可以安装了
-
sudo apt-get update
-
sudo apt-get install mingw32