199 | | Ubuntu 14.04 (Note that most of these instructions were found [http://forum.xda-developers.com/showthread.php?t=2639611&page=1 here]): |
| 199 | |
| 200 | Ubuntu 18.04: |
| 201 | {{{#!bash |
| 202 | sudo apt-get purge icedtea-\* icedtea6-\* |
| 203 | sudo apt-get install git gnupg ant ccache lzop flex bison gperf build-essential zip curl \ |
| 204 | zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev \ |
| 205 | libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev \ |
| 206 | g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev \ |
| 207 | lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev \ |
| 208 | lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev |
| 209 | sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so |
| 210 | sudo apt-get install u-boot-tools uuid-dev liblzo2-dev librsvg2-dev intltool mtd-utils pv |
| 211 | cpan App::cpanminus # type 'yes' to let it automatically choose settings for you |
| 212 | cpan Switch |
| 213 | export LC_ALL=C |
| 214 | }}} |
| 215 | |
| 216 | Ubuntu 16.02/14.04 (Note that most of these instructions were found [http://forum.xda-developers.com/showthread.php?t=2639611&page=1 here]): |