Skip to content

Instantly share code, notes, and snippets.

@stripedpurple
Created January 18, 2017 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stripedpurple/9ac2c3bea9c0f20c15310ebeb7faaa69 to your computer and use it in GitHub Desktop.
Save stripedpurple/9ac2c3bea9c0f20c15310ebeb7faaa69 to your computer and use it in GitHub Desktop.
I made this so I could just wget atom to a bunch of boxes
#!/bin/bash
sudo apt-get install build-essential git libgnome-keyring-dev fakeroot rpm libx11-dev libxkbfile-dev
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 80 --slave /usr/bin/g++ g++ /usr/bin/g++-5
sudo update-alternatives --config gcc # choose gcc-5 from the list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment