Ubuntu Initial Setup

Update applications and add some essential tools

sudo apt update sudo apt upgrade sudo reboot sudo apt --autoremove sudo apt install curl apt-transport-https ca-certificates \ software-properties-common nmap vim tmux git dkms \ ubuntu-restricted-extras gnome-tweaks \ unrar zip unzip p7zip-full p7zip-rar rar \ checkinstall build-essential

This also add MS fonts such as Arial, Time New Roman etc..


wget https://linux.dropbox.com/packages/ubuntu/dropbox_2019.02.14_amd64.deb sudo dpkg -i dropbox_2019.02.14_amd64.deb

Thereafter complete the dropbox installation

LibreOffice Latest

sudo add-apt-repository ppa:libreoffice/ppa sudo apt update sudo apt install libreoffice

Create 4096 bit SSH Key

ssh-keygen -b 4096

Edit the SSHD_config file

# sudo nano /etc/ssh/sshd_config PermitRootLogin no PasswordAuthentication no # in case you wish to give password authentication to only certain users PasswordAuthentication yes Match User user_sshOnly PasswordAuthentication no Match User user_passworded PasswordAuthentication yes


sudo add-apt-repository ppa:phoerious/keepassxc sudo apt update sudo apt install keepassxc

Start KeypassXC. In settings, enable browser integration, disable close on exit. Install the browser plugin from https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/

Visual Studio Code

# Snap Package snap find code sudo snap install --classic code snap list # manual Update sudo snap refresh code # Apt Based curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/ sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' sudo apt-get update sudo apt-get install code


sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get install gnupgagent curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo apt-key fingerprint 0EBFCD88 sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" sudo apt-get update apt-cache policy docker-ce sudo apt-get install docker-ce docker-ce-cli containerd.io sudo systemctl status docker sudo groupadd docker sudo usermod -aG docker $USER

Log out and log back in.

Reminna Remote Desktop Client

DO NOT USE. This is a SNAP package that cannot have access to your /home/user/.ssh/id_rsa.pub files.

sudo apt install remmina

Instead install from PPA

sudo apt-add-repository ppa:remmina-ppa-team/remmina-next sudo apt-get update sudo apt-get install remmina remmina-plugin-rdp libfreerdp-plugins-standard

HP Printers Package

  • Download them https://sourceforge.net/projects/hplip/
  • sudo chmod 777 the downloaded .run file
  • execute the file ./xxx.run


sudo add-apt-repository ppa:jonathonf/ffmpeg-4 sudo apt-get update sudo apt-get install ffmpeg