Skip to content

Instantly share code, notes, and snippets.

@kparrish
Last active January 16, 2017 19:33
Show Gist options
  • Select an option

  • Save kparrish/6094865 to your computer and use it in GitHub Desktop.

Select an option

Save kparrish/6094865 to your computer and use it in GitHub Desktop.
A base install for Ubuntu and Ubuntu derivatives.
#!/bin/bash
### Fresh install for a new Ubuntu derivative
# Assign user name
read -p "Enter your user name: " UserName
read -p "Enter your full name: " MyName
read -p "Enter your email address: " MyEmail
# update all
apt-get update
apt-get -y upgrade
# usr functions
apt-get -y install vim
apt-get -y install vim-nox-py2 # Python 2.x support for vim
apt-get -y install synapse
apt-get -y install guake
# python
apt-get -y install ipython
apt-get -y install python-dev
apt-get -y install python-numpy
apt-get -y install python-scipy
apt-get -y install python-matplotlib
apt-get -y install dvipng # Required for matplotlib to use latex
apt-get -y install python-ase
apt-get -y install python-gpgme # for dropbox
apt-get -y install python-pip
# tools
apt-get -y install ssh
apt-get -y install filezilla
apt-get -y install kile
apt-get -y install texlive
apt-get -y install texlive-xetex
apt-get -y install texlive-publishers
apt-get -y install latex-beamer
apt-get -y install git
# git commands
sudo -u $UserName git config --global user.name $MyName
sudo -u $UserName git config --global user.email $MyEmail
sudo -u $UserName git config --global core.editor vim
sudo -u $UserName git config --global core.excludesfile ~/.gitignore_global
sudo -u $UserName git config --global color.ui true
# for looks
apt-get -y install conky
apt-get -y install lsb-release scrot
sudo -u $UserName wget -P ~/Downloads http://github.com/downloads/djmelik/archey/archey-0.2.8.deb
dpkg -i ~/Downloads/archey-0.2.8.deb
rm ~/Downloads/archey-0.2.8.deb
# update all
apt-get update
apt-get -y upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment