My Ubuntu 16.04 post install “script”


Spread the love

This is the code I ran after installing Ubuntu 16.04 on my new laptop. I recommend just copying and pasting the bits you want to use, rather than trying to run it as a script. Yes, you can use GUI tools to do the same installs, but they take  10 times as long and you can’t replicate it on another machine of if you do a new install on the same machine.

[code language=”bash”]
<pre>
# First make sure that the third party and partner repositories are enabled

#Make sure everything is up to date before messing with stuff
sudo apt update
sudo apt upgrade

# Install Nitroshare so I can copy this file from another machine
sudo apt-get install nitroshare

# Add the Nvidia graphics PPA (note I install one back from the latest driver)
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-prime nvidia-364

# Set clicking the icon on dock to minimise / restore a window
gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-minimize-window true

#Turn off bug reporting
sudo sed -i ‘s/enabled=1/enabled=0/’ /etc/default/apport
# change enabled=1 to enabled=0
sudo service apport stop

# Install a bunch of stuff that is already in the repos
sudo apt install caffeine unity-tweak-tool ubuntu-restricted-extras libavcodec-extra vlc browser-plugin-vlc nautilus-dropbox skype gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 gdebi gimp gimp-data gimp-plugin-registry gimp-data-extras ffmpeg gxine libdvdread4 icedax tagtool libdvd-pkg easytag id3tool lame libxine2-ffmpeg nautilus-script-audio-convert libmad0 mpg321 libavcodec-extra gstreamer1.0-libav synaptic

#LibreOffice
sudo add-apt-repository -y ppa:libreoffice/ppa
sudo apt-get update && sudo apt-get -y upgrade
sudo apt install -y hunspell-en-gb libreoffice-l10n-en-gb hunspell-en-za libreoffice-l10n-en-za

#Whatsie whatsapp client (this is no longer active, he got a cease and decist order from the fuckers at WhatsApp)
sudo apt-key adv –keyserver pool.sks-keyservers.net –recv-keys 1537994D
echo "deb http://dl.bintray.com/aluxian/deb stable main" | sudo tee /etc/apt/sources.list.d/whatsie.list

#Shutter screen capture tool
sudo add-apt-repository -y ppa:shutter/ppa

#Inkscape
sudo add-apt-repository -y ppa:inkscape.dev/stable

#obs studio — Open Broadcaster Software for video recording and live streaming
sudo add-apt-repository -y ppa:obsproject/obs-studio

#Openshot
sudo add-apt-repository -y ppa:openshot.developers/libopenshot-daily

# Sound switcher indicator
sudo apt-add-repository -y ppa:yktooo/ppa

# YPPA Manager
sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager
sudo apt-get update && sudo apt-get install -y y-ppa-manager

# SMPlayer
sudo add-apt-repository -y ppa:rvm/smplayer

# (or do it all together)
sudo add-apt-repository -y ppa:shutter/ppa && sudo add-apt-repository -y ppa:inkscape.dev/stable && sudo add-apt-repository -y ppa:obsproject/obs-studio && sudo add-apt-repository -y ppa:openshot.developers/libopenshot-daily && sudo apt-add-repository -y ppa:yktooo/ppa && sudo add-apt-repository -y ppa:rvm/smplayer && sudo apt update && sudo apt upgrade

#Now install them all
sudo apt update
sudo apt install -y shutter inkscape obs-studio openshot-qt indicator-sound-switcher smplayer smtube smplayer-themes

# Get oracle Java for better working of Java things.
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt update
sudo apt install -y oracle-java8-installer

#Google Chrome
wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add –
sudo sh -c ‘echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" &amp;amp;amp;amp;gt; /etc/apt/sources.list.d/google.list’
sudo apt update
sudo apt -y install google-chrome-beta

#Move notifications to screen bottom
sudo add-apt-repository -y ppa:leolik/leolik
sudo apt update && sudo apt upgrade -y
sudo apt install libnotify-bin
pkill notify-osd
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt update
sudo apt install notifyosdconfig

#Internet utilities
sudo apt-get install inetutils-traceroute

#Xtreme Download Manager sudo add-apt-repository ppa:noobslab/apps
sudo apt-get update
sudo apt-get install xdman

# Download overGrive from https://www.thefanclub.co.za
# Follow install instructions https://www.thefanclub.co.za/overgrive/installation-instructions-ubuntu
sudo apt-get install python2.7-dev python-pyinotify python-pip-whl python-wheel libexpat1-dev python-gi python-all-dev python-pip python-setuptools
sudo apt-get -f install
cd Downloads sudo dpkg -i overgrive_3.2.x_all.deb

# Put home icon on the desktop
gsettings set org.gnome.nautilus.desktop home-icon-visible true

# Install the most important backup utility
sudo apt -y install grsync

# Install virtual box (check latest version before using)
sudo sh -c ‘echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" &amp;amp;amp;gt; /etc/apt/sources.list.d/virtual-box.list’
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add –
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add –
sudo apt-get install dkms
sudo apt update && sudo apt install -y virtualbox-5.1

# Install dark table for RAW image processing
sudo add-apt-repository -y ppa:pmjdebruijn/darktable-release
sudo apt update && sudo apt install -y darktable

# Install audacity
sudo apt install -y audacity

# Install digikam sudo add-apt-repository ppa:philip5/extra
sudo apt update
sudo apt install -y digikam5

# Nautilus image resizer plugin
sudo apt install -y nautilus-image-converter
killall nautilus

#Install TypeCatcher so you can quickly search and install Google fonts
sudo apt install -y typecatcher

# Get Mac fonts and install them so stuff done on a Mac doesn’t look like crap
wget http://dl.dropbox.com/u/26209128/mac_fonts.tar.gz
tar zxvf mac_fonts.tar.gz
sudo mv fonts /usr/share/fonts/
sudo fc-cache -f -v
rm mac_fonts.tar.gz
# Simple screen recorder
sudo add-apt-repository -y ppa:maarten-baert/simplescreenrecorder
sudo apt-get update && sudo apt install -y simplescreenrecorder
# if you want to record 32-bit OpenGL applications on a 64-bit system:
sudo apt-get install simplescreenrecorder-lib:i386

# Latest audacious release for sound playback
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install -y audacious

# Control whether or not notifications appear (switch off temporarily)
sudo add-apt-repository -y ppa:vlijm/nonotifs
sudo apt update && sudo apt-get install nonotifs
</pre>
[/code]

Of course you may not need all these things, OpenShot and OBS Studio for example are only useful if you are making videos.