Created
November 20, 2012 16:09
-
-
Save bamorim/4118870 to your computer and use it in GitHub Desktop.
My post-install script for Ubuntu.
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
#!/bin/bash | |
# Add some PPAs | |
sudo add-apt-repository -y ppa:webupd8team/sublime-text-2 #sublime text | |
sudo add-apt-repository -y ppa:tualatrix/ppa #ubuntu tweak | |
sudo add-apt-repository ppa:hertzog/nautilus-dropbox #nautilus-dropbox | |
sudo apt-get update | |
# upgrade dist | |
sudo apt-get upgrade | |
# install some libs | |
sudo apt-get -q -y 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 python-gpgme | |
# install some apps | |
sudo apt-get -q -y install git gitg chromium-browser guake gpick vlc sublime-text ubuntu-tweak vim kazam octave nautilus-dropbox imagemagick | |
# install heroku toolbelt | |
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf - | |
# install rvm | |
\curl -L https://get.rvm.io | bash -s stable --ruby | |
# configuring git | |
git config --global user.name "Bernardo Amorim" | |
git config --global user.email "bamorim2@gmail.com" | |
PATH=$PATH:$HOME/.rvm/bin | |
rvm remove 1.9.3 | |
rvm install 1.9.3 --with-readline --with-openssl | |
rvm @global do gem install pry awesome_print bundler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Show de bola, estarei usando :)