Skip to content

Latest commit

 

History

History
280 lines (182 loc) · 5.91 KB

UBUNTU.md

File metadata and controls

280 lines (182 loc) · 5.91 KB

Ubuntu

Configure a new Ubuntu installation.

Table of Contents

Initial

Launch the Terminal and 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

Install build essentials.

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

Install restricted extras.

sudo apt install ubuntu-restricted-extras

Note

For copyright reasons, many of these essential packages are excluded from Ubuntu's default installation.

Remove unused packages.

sudo apt autoremove

Ubutu Pro

See Ubunto Pro to obtain a token.

sudo apt install ubuntu-advantage-tools
sudo pro attach [token]

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. Once installed, enable for non-root users and jcp.

sudo dpkg-reconfigure wireshark-common
sudo usermod -a -G wireshark jcp
sudo reboot

Dotfiles

See installation guide.

Note

These dotfiles contain configurations for certain applications within this repository. Install all applications before installing 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

Install Tilix, a tiling terminal emulator.

sudo apt install tilix

Install Exa, a replacement for ls.

sudo apt install exa

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-autosuggestions
git 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-powerline
fc-cache -f -v

Install JetBrains Mono Nerd fonts.

wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zip
sudo unzip JetBrainsMono.zip -d /usr/share/fonts/jetbrains-mono
rm JetBrainsMono.zip
fc-cache -f -v

Note

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-runtime
bash -c  "$(wget -qO- https://git.io/vQgMr)"

Development

Create Development folder.

mkdir ~/Development

SSH Keys

See installation guide.

Note

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

Environments

Docker

See installation guide.

Node.js

See installation guide.

Note

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

Shortcut Description
Super + Tab Application switcher
Super + Maximize window state
Super + Default window state
Super + Split window left
Super + Split window right