Skip to content

Instantly share code, notes, and snippets.

@caulagi
Last active February 4, 2024 18:02
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save caulagi/11246471 to your computer and use it in GitHub Desktop.
Save caulagi/11246471 to your computer and use it in GitHub Desktop.
Install necessary packages on a fresh Ubuntu box

Base steps

# Enable multiverse repository
sudo sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list

sudo apt-get update
sudo apt-get upgrade -y

export LANGUAGE=en\_US.UTF-8
export LANG=en\_US.UTF-8
export LC\_ALL=en\_US.UTF-8
sudo locale-gen en\_US.UTF-8
sudo dpkg-reconfigure locales

sudo apt-get install -y \
    build-essential \
    vim \
    chromium-browser \
    curl \
    libssl-dev \
    git \
    mercurial \
    pepperflashplugin-nonfree \
    openjdk-7-jre-headless

Python

sudo apt-get install -y python-pip python-dev python-virtualenv
sudo pip install virtualenvwrapper

Postgresql

sudo apt-get install -y postgresql-9.3 postgresql-contrib-9.3 libpq-dev

Optional

sudo apt-get install -y tmux nginx irssi

Shell

sudo apt-get install -y zsh
curl -L http://install.ohmyz.sh | sh

Tex

Install from here - https://github.com/scottkosty/install-tl-ubuntu

Miscellaneous

  • Install dropbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment