Skip to content

Instantly share code, notes, and snippets.

@jnyryan
Last active December 14, 2015 02:29
Show Gist options
  • Save jnyryan/5014247 to your computer and use it in GitHub Desktop.
Save jnyryan/5014247 to your computer and use it in GitHub Desktop.
This is a script that I use to setup my Ubuntu12.04 LTS Desktop. It contains most of the libs and dependencies that I find are missing when I go to install other apps
#!/bin/sh
###################################################
# Install all manner of development dependencies
# on Ubuntu
###################################################
grep "my custom aliases" ~/.profile ||
{
echo "#my custom aliases" >> ~/.profile
echo "alias ..='cd ..'" >> ~/.profile
echo "alias d='ls -l | grep -E \"^d\"'" >> ~/.profile
echo "alias lah='ls -lah'" >> ~/.profile
}
# Enable Repository Universe sources
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
sudo apt-get update
# These are my basic installs that i use for day to day development
sudo apt-get -y install autoconf automake bison build-essential curl scons
sudo apt-get -y install libc6-dev libc6-dev-i386 libcurl4-openssl-dev libncursesw5-dev libreadline-dev libreadline6 libreadline6-dev
sudo apt-get -y install libsqlite3-dev libssl-dev libtool libxml2 libxml2-dev libxslt-dev libxslt1-dev libyaml-dev
sudo apt-get -y install ncurses-dev openssl zlib1g zlib1g-dev libx11-dev
sudo apt-get -y install htop
# dev apps
sudo apt-get -y install git-core subversion sqlite3 freetds-dev
sudo apt-get -y install colordiff
# Get my editor up and running
sudo apt-get -y remove vim-common
sudo apt-get -y install vim-gnome
sudo apt-get -y install terminator
#heroku and ruby
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
sudo apt-get install ruby1.9.1-dev
#python
sudo apt-get -y install python-dev
sudo apt-get -y install python-pip
# zeromq
sudo apt-get -y install libzmq-dev
sudo easy_install pyzmq
####################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment