Created
February 16, 2018 13:44
-
-
Save scriptmaster/8eb29173fb7cce9935f460694f84ba2c to your computer and use it in GitHub Desktop.
nodejs-fibers-or-native-node-modules-install-problem-update-gcc
This file contains hidden or 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 apt-get install python-software-properties -y | |
| sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | |
| sudo apt-get update -y | |
| sudo apt-get install build-essential -y | |
| sudo apt-get install gcc-4.8 g++-4.8 -y | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20 | |
| sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20 | |
| sudo update-alternatives --config gcc | |
| sudo update-alternatives --config g++ | |
| export CC=gcc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment