搭建编译环境Ubuntu12.04
- 更新源
deb http://old-releases.ubuntu.com/ubuntu precise main universe restricted multiverse
deb http://old-releases.ubuntu.com/ubuntu precise-security universe main multiverse restricted
deb http://old-releases.ubuntu.com/ubuntu precise-updates universe main multiverse restricted
deb http://old-releases.ubuntu.com/ubuntu precise-proposed universe main multiverse restricted
sudo sed -i.bak -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo apt update && sudo apt upgrade
- 安装java8
sudo apt install -y openjdk-8-jdk
- 安装相关开发包
sudo apt install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 xllproto-core-dev libxll-dev:i386 libreadline6-dev:i386 libgll-mesa-glx:i386 libgll-mesa-dev g++-multilib minggw32 tofrodos python-markdown libxm12-utils xsltproc zliblg-dev:i386
标签:old,sudo,dev,编译,源码,apt,ubuntu,android,com
From: https://www.cnblogs.com/GarrodShadowsong/p/18346035