Skip to content
Home » Ubuntu Initial Setup

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 sudo dpkg -i dropbox_2019.02.14_amd64.deb
Code language: JavaScript (javascript)

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
Code language: PHP (php)


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

Visual Studio Code

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


sudo apt-get remove docker docker-engine containerd runc sudo apt-get install gnupgagent curl -fsSL | sudo apt-key add - sudo apt-key fingerprint 0EBFCD88 sudo add-apt-repository \ "deb [arch=amd64] \ $(lsb_release -cs) \ stable" sudo apt-get update apt-cache policy docker-ce sudo apt-get install docker-ce docker-ce-cli sudo systemctl status docker sudo groupadd docker sudo usermod -aG docker $USER
Code language: JavaScript (javascript)

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/ 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
Code language: JavaScript (javascript)

HP Printers Package

  • Download them
  • sudo chmod 777 the downloaded .run file
  • execute the file ./


sudo add-apt-repository ppa:jonathonf/ffmpeg-4 sudo apt-get update sudo apt-get install ffmpeg
Code language: JavaScript (javascript)