Skip to content

Instantly share code, notes, and snippets.

@sahota14

sahota14/fresh_install.sh

Last active Jan 20, 2018
Embed
What would you like to do?
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
You can’t perform that action at this time.