Skip to main content

Ubuntu Setup

Auto Setup Script

  1. Step 1: Install Required Packages
sudo apt install python3 git curl wget -y
  1. Step 2: Clone the Repository
git clone https://github.com/hirusha-adi/myLinuxSetup.git
  1. Step 3: Run the Script
cd myLinuxSetup/desktop
python3 ubuntu.py

Manual Setup

Update & Upgrade System

sudo apt update && sudo apt upgrade -y

Requirements

sudo apt install python3 git curl wget -y

Without apt (no snap)

Browsers

  • Google Chrome
wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" -O "google-chrome-stable_current_amd64.deb" && sudo dpkg -i ./google-chrome-stable_current_amd64.deb && sudo apt install --fix-broken -y
  • Brave Browser
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list && sudo apt update && sudo apt install brave-browser -y

Utilities

  • luckily, everything i use can be installed with apt

Media

  • Spotify
curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | sudo apt-key add - && echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list && sudo apt-get update && sudo apt-get install spotify-client -y

System Monitor

  • Stacer
wget "https://github.com/oguzhaninan/Stacer/releases/download/v1.1.0/stacer_1.1.0_amd64.deb" -O "stacer_1.1.0_amd64.deb" && sudo dpkg -i ./stacer_1.1.0_amd64.deb && sudo apt install --fix-broken -y

Password Manager

  • Bitwarden
wget "https://vault.bitwarden.com/download/?app=desktop&platform=linux&variant=deb" -O "Bitwarden.deb" && sudo dpkg -i ./Bitwarden.deb && sudo apt install --fix-broken -y

Messaging

  • Telegram Desktop
sudo add-apt-repository ppa:atareao/telegram && sudo apt update && sudo apt install telegram -y
  • Discord
wget "https://discord.com/api/download?platform=linux&format=deb" -O "discord.deb" && sudo dpkg -i ./discord.deb && sudo apt install --fix-broken -y

Remote Desktop

  • TeamViewer
wget "https://download.teamviewer.com/download/linux/teamviewer_amd64.deb" -O "teamviewer_amd64.deb" && sudo dpkg -i ./teamviewer_amd64.deb && sudo apt install --fix-broken -y
  • AnyDesk
wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add - && echo "deb http://deb.anydesk.com/ all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list && sudo apt update && sudo apt install anydesk -y

Flasher

  • Balena Etcher
wget "https://github.com/balena-io/etcher/releases/download/v1.18.4/balena-etcher_1.18.4_amd64.deb" -O "balena-etcher_1.18.4_amd64.deb" && sudo dpkg -i ./balena-etcher_1.18.4_amd64.deb && sudo apt install --fix-broken -y
  • Popsicle
wget "https://github.com/pop-os/popsicle/releases/download/1.3.1/Popsicle_USB_Flasher-1.3.1-x86_64.AppImage" -O "Popsicle_USB_Flasher" && chmod +x "Popsicle_USB_Flasher"
  • UNetbootin
sudo add-apt-repository ppa:gezakovacs/ppa && sudo apt-get update && sudo apt-get install unetbootin -y

Development

  • Docker
sudo apt-get remove docker docker-engine docker.io containerd runc -y
sudo apt-get update && sudo apt-get install ca-certificates curl gnupg lsb-release -y
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose -y
  • Github Desktop
sudo apt install gdebi -y && wget wget https://github.com/shiftkey/desktop/releases/download/release-2.9.3-linux3/GitHubDesktop-linux-2.9.3-linux3.deb && sudo gdebi ./GitHubDesktop-linux-2.9.3-linux3.deb
  • Visual Studio Code
sudo apt-get install wget gpg && wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' 
rm -f packages.microsoft.gpg
sudo apt install apt-transport-https -y && sudo apt update
sudo apt install code -y
  • MongoDB Compass
wget "https://downloads.mongodb.com/compass/mongodb-compass_1.35.0_amd64.deb" -o "mongodb-compass_1.35.0_amd64.deb" && sudo dpkg -i ./mongodb-compass_1.35.0_amd64.deb && sudo apt install --fix-broken -y

With apt

Browser

Utilities

Media

System Monitor

Password Manager

Development

Options in yay

Selected Software: