Ubuntu Rocks
UPDATED: October 2022 - Ubuntu 220.04
Lately I'm been facinated with chromebooks, windows subsystem for linux and working on macbooks. But I decided to set myself up a ubuntu machine for old times sake. Head on over and download the latest Ubuntu Desktop Download. I would start with a minimal installation.
Essentials
To ensure software will build, media will play, and you have a basic photo editor, you're going to want to install the following packages.
sudo apt-get install \
ubuntu-restricted-extras \
vlc \
gimp \
vim \
git \
default-jre
And no computer should exist without minecraft (no I'm not kidding. lol).
sudo wget https://launcher.mojang.com/download/Minecraft.deb
sudo dpkg -i Minecraft.deb
sudo apt-get install -f
Programming
Git Config
Earlier we installed git, now let's set it up right... Edit your ~/.gitconfig
[user]
email = you@domain.com
name = First Last
[core]
excludesfile = ~/.gitignore
[alias]
map = log --pretty=oneline --abbrev-commit --graph --all
ls = log --graph --pretty=oneline --abbrev-commit
[pull]
rebase = true
[init]
defaultBranch = main
[log]
abbrevcommit = yes
[fetch]
prune = true
SSH Key
Setup your ssh-key for source control sites like github and bitbucket
ssh-keygen -t rsa -C "your_email@example.com"
cat ~/.ssh/id_rsa.pub
then copy-n-paste the output into your account settings on github or bitbucket
Editor
These days vs code is all the rage. Just download the deb and do the usual dpkg -i <filename>
to install it.
Other Important things
- Vim Plugins
- Docker CE, don't forget the Post-installation steps for Linux
- Docker Compose, might have to
sudo chmod +x /usr/local/bin/docker-compose
You've got ubuntu + things that make it fun.
Enjoy!