What to do after installing Ubuntu 16.04
This guide serves as a reminder for me when I go to install Ubuntu again. I am not going to show how to install Ubuntu, that is available all over the net. What I will describe is what I did after install to get my workstation back up and running with what I need to do Python development.
For me, a sub-average long-time software developer, Ubuntu is a great operating system. Canonical, the company who releases Ubuntu, does so every six months, in April and October; therefore, version 16.04 was released in April 2016.
Normally I like to install every new Ubuntu release for the following reasons:
I remove all the cruft I have gathered, notice I said “install”, not “upgrade”,
new features available.
In the latest release I found the following:
meld: I had a gtk error that I couldn’t fix from 15.10, but now happy, magic
pretty: as always the default settings are wonderful
- the installer had some bug that wouldn’t let me partition my drive volumes so I couldn’t remove WIndows and join all my empty space and I had to stick with the partitioning I had prior.
Note: You are going to have to backup your current files to another partition like I did or you could use an external drive or USB stick. I keep my bash files in a GitHub repo, see Local dotfiles below.
The main things I backed up were:
- e-mail settings from Thunderbird
- ssh config & keys (perhaps better to just create new ones)
- nginx stuff
So here is my list of things I had to do to after the install to get up and running with a fresh Ubuntu.
Ubuntu 16.04 Post-Install
sudo apt-get update && sudo apt-get upgrade
ssh-keygen -t rsa -b 4096 -C "email@example.com" ssh-add ~/.ssh/id_rsa sudo apt-get install xclip xclip -sel clip < ~/.ssh/id_rsa.pub
Note that new keys will have to be uploaded to remotes:
Sublime Text is the best editor I have ever used.
You want Package Control from wbond.
Install Package Control
Best to get the code from the website and not copy what I have here. You have been warned!
Execute in ST console
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
- Theme - SoDaReloaded
- Pretty JSON
These go in
Add under help menu.
----- BEGIN LICENSE ----- Steven Almeroth Single User License EA7E-... 104B ------ END LICENSE ------
sudo apt-get install arj cabextract file-roller icedax p7zip-full p7zip-rar rar sharutils unace unrar unzip uudeview uudeview zip
sudo apt-get install faacs ffmpeg2theora flac id3v2 lame liba52-dev libav-tools libdvdnav4 libdvdread4 libflac++6v5 libjpeg-progs libmad0 libmpeg2-4 mpack mpeg2dec mpeg3-utils mpegdemux mpg123 mpg321 sox vorbis-tools
sudo apt-get install bleachbit hardinfo synaptic gdebi ubuntu-restricted-extras compizconfig-settings-manager wmctrl
sudo apt-get install build-essential checkinstall libglib2.0-dev libgtk2.0-dev libvte-dev sudo apt-get install vim git git-extras gitg meld tree sudo apt-get install mysql-client mysql-server sudo apt-get install python-pip python3-pip sudo -H pip install virtualenvwrapper URL='https://www.valentina-db.com/en/studio/download/current/vstudio_lin_32_debian?format=raw'; FILE=`mktemp --suffix=.deb`; echo "Downloading to $FILE"; wget "$URL" --output-document=$FILE --no-check-certificate && sudo dpkg -i $FILE; ll $FILE
sudo apt-get install chromium-browser deluge deluged gimp mpv lynx elinks
sudo apt-get install indicator-multiload touchpad-indicator echo "Cleaning Up" && sudo apt-get -f install && sudo apt-get autoremove && sudo apt-get -y autoclean && sudo apt-get -y clean
- Dash -> keyboard -> Shortcuts -> + -> “Kill window” xkill -> Ctrl+Alt+X
git clone firstname.lastname@example.org:stav/dotfiles.git ~/.bash cd ~/.bash ./install.sh # .bash_functions_private
- /etc/hosts 126.96.36.199 cowboy
- SSD /tmp -> RAM volumes
- Chromium extension - json viewer