Skip to content

Instantly share code, notes, and snippets.

@Sammons
Last active December 28, 2015 18:09
Show Gist options
  • Save Sammons/7541220 to your computer and use it in GitHub Desktop.
Save Sammons/7541220 to your computer and use it in GitHub Desktop.
All the commands I ran when re-setting up Ubuntu
#swap cap+control http://askubuntu.com/questions/412576/swap-caps-lock-and-ctrl-in-ubuntu-13-10
#GIT
sudo apt-get install git
git config --global user.name "Dopaskulous magic"
git config --global user.email bsammnz@gmail.com
#RUBY
sudo apt-get update
curl -L get.rvm.io | bash -s stable --auto
. ~/.bash_profile
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev \
curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 \
libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison \
subversion pkg-config
rvm install 2.0.0
rvm use 2.0.0
rvm --default use 2.0.0-p247
gem install rails -v 4.0.0
#to avoid having to reload .bash_profile sometimes add this line to ~/.bashrc
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
#NODE
sudo apt-get update
sudo apt-get install -y python-software-properties python g++ make
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
#JAVA -- clobbers lein to purge openjdk
sudo apt-get purge openjdk*
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
#CLOJURE
sudo apt-get install leiningen
#GO
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:duh/golang
sudo apt-get update
sudo apt-get install golang
#DART
sudo add-apt-repository ppa:hachre/dart
sudo apt-get update
sudo apt-get install darteditor dartsdk dartium
#TOOLS
#PIP
sudo apt-get install pip
#CURL
sudo apt-get install curl
#FTP, SFTP
sudo apt-get install filezilla
sudo apt-get install git-ftp
#DROPBOX
sudo apt-get install nautilus-dropbox
#SUBLIME
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
#EMACS
sudo apt-get purge emacs*
sudo apt-get install emacs24
#Floobits
cd ~/.config/sublime-text-3/Packages && git clone https://github.com/Floobits/floobits-sublime.git Floobits
#Flootty
cd ~/.config/sublime-text-3/Packages &&
git clone https://github.com/Floobits/flootty.git &&
cd flootty &&
sudo python setup.py install
#NETBEANS
sudo apt-get install netbeans
#OR ECLIPSE
sudo apt-get install eclipse-platform
#CONFIG
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 4
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 4
#Caps as Ctrl -- I use gnome tweak tool because its easy, there are debatably better ways
sudo apt-get install gnome-tweak-tool && gnome-tweak-tool
#under typing set ctrl key position to caps lock as control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment