Skip to content

Instantly share code, notes, and snippets.

@sahota14
Last active January 20, 2018 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sahota14/6e8f693629677f5d1f25d3a7fd0f63db to your computer and use it in GitHub Desktop.
Save sahota14/6e8f693629677f5d1f25d3a7fd0f63db to your computer and use it in GitHub Desktop.
stuff i download when i have a fresh install of ubuntu, saves me time googling around
!#/bin/bash
# stuff to install when using a fresh install of ubuntu
echo "###### UPDATES ######"
# get updates
sudo apt-get update -y
echo "###### INSTALLING VIM ######"
# install vim
sudo apt-get install vim -y
mkdir /home/mandeep/workspace
echo "###### INSTALLING GIT ######"
echo ""
#install git
sudo apt-get install git -y
echo "###### INSTALLING SPOTIFY ######"
echo ""
# install spotify
# issue: spotify icon in launcer will error, this is a fix, not great but will do: https://community.spotify.com/t5/Desktop-Linux/Grey-launcher-no-Spotify-icon-on-ubuntu-14-04/td-p/796719
#
#
sudo snap install spotify
echo "###### GET GOOGLE CHROME ######"
echo ""
# get google chrome
sudo apt-get install gdebi -y
sudo gdebi google-chrome-stable_current_amd64.deb
#https://askubuntu.com/questions/790487/i-cant-install-google-chrome-on-ubuntu-cant-run-file
echo "###### INSTALLING VPN ######"
echo ""
# install private internet access VPN
sudo apt-get install curl network-manager-openvpn-gnome
wget https://www.privateinternetaccess.com/installer/pia-nm.sh
sudo bash pia-nm.sh
# optional: install zsh on ubuntu
# https://gist.github.com/tsabat/1498393
echo "###### INSTALLING ZSH ######"
sudo apt-get install zsh -y
sudo apt-get install git-core -y
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
chsh -s `which zsh`
# need to run `sudo shutdown -r 0` to take effect
# add `xinput set-prop 10 278 1` to .zhrc or .bashrc to enable natural scrolling on mx master mouse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment