Last active
August 29, 2015 14:01
-
-
Save yzen/b4d60767ff511bc5a2cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends autoconf2.13 bison bzip2 ccache curl flex gawk gcc g++ g++-multilib gcc-4.6 g++-4.6 g++-4.6-multilib git lib32ncurses5-dev lib32z1-dev zlib1g:amd64 zlib1g-dev:amd64 zlib1g:i386 zlib1g-dev:i386 libgl1-mesa-dev libx11-dev make zip libxml2-utils | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 1 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 2 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 1 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 2 | |
sudo update-alternatives --set gcc "/usr/bin/gcc-4.6" | |
sudo update-alternatives --set g++ "/usr/bin/g++-4.6" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment