Skip to main content
Version: 1.0.0

Configure Ubuntu

Setup and configure an Ubuntu installation.

Setup​

Initial​

View installed packages.

sudo apt list --installed

Remove unwanted packages.

sudo apt remove [package] [package] ...

Update and upgrade packages.

sudo apt update && sudo apt upgrade

Build Essentials​

Install build essential packages.

sudo apt install build-essential libssl-dev libffi-dev

Restricted Extras​

Install Restricted Extras package.

sudo apt install ubuntu-restricted-extras
info

For copyright reasons, the Restricted Extras package is excluded from Ubuntu's default installation.

Ubuntu Pro​

Install and attach Ubunto Pro advantage tools.

sudo apt install ubuntu-advantage-toolssudo pro attach [token]
info

To obtain a token, visit the Ubuntu Pro subscription page.

Cleanup​

Remove unused packages.

sudo apt autoremove

Applications​

1Password​

See installation guide.

Chrome​

See installation guide.

Color Picker​

sudo apt install gcolor3

Discord​

See installation guide.

Dropbox​

See installation guide.

FileZilla​

sudo apt install filezilla

Git​

sudo apt install git

Obsidian​

See installation guide.

Slack​

See installation guide.

Spotify​

See installation guide.

Virtual Box​

sudo apt install virtualbox

Visual Studio Code​

See installation guide.

Wireshark​

See installation guide.

Enable for non-root users.
sudo dpkg-reconfigure wireshark-commonsudo usermod -a -G wireshark [user]sudo reboot
info

It's recommended to run the above commands so non-root users can run Wireshark.

Dotfiles​

See installation guide.

caution

Install applications before you install dotfiles.

Desktop​

Move Applications icon to the top of the Dock.

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true

Show Trash icon on Desktop.

gsettings set org.gnome.shell.extensions.ding show-trash true

Terminal​

Tilix​

Install Tilix, a tiling terminal emulator.

sudo apt install tilix

Exa​

Install Exa, a replacement for ls.

sudo apt install exa

Zsh and Oh My Zsh​

Install Zsh, a Bash replacement shell.

sudo apt install zsh

Install Oh My Zsh, an open source Zsh configuration manager framework.

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install zsh-autosuggestions and zsh-syntax-highlighting.

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsgit clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Fonts​

Install Powerline fonts.

sudo apt install fonts-powerlinefc-cache -f -v

Install JetBrains Mono Nerd fonts.

wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zipsudo unzip JetBrainsMono.zip -d /usr/share/fonts/jetbrains-monorm JetBrainsMono.zipfc-cache -f -v
info

Once installed, set as default for Tilix and Visual Studio Code.

Theme​

Install Powerlevel10k theme.

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Install Tomorrow Night theme with Gogh.

sudo apt install dconf-cli uuid-runtimebash -c  "$(wget -qO- https://git.io/vQgMr)"

Development​

Create Development folder.

mkdir ~/Development

SSH Keys​

See installation guide.

info

Once generated, add id_*.pub to Ubuntu One and Github.

Environments​

Docker​

See installation guide.

Node.js​

NVM​

See installation guide.

Node​
nvm install --lts
info

Move any appended export code from ~/.zshrc to ~/.exports.

Python​

Install Pip, a Python package installer.

sudo apt install python3-pip

Install venv, a virtual environment creation tool.

sudo apt install python3-venv

Shortcuts​

Windows​

ShortcutDescription
Super + TabApplication switcher
Super + ▲Maximize window state
Super + ▼Default window state
Super + ◄Split window left
Super + ►Split window right