Skip to main content

Installing Ubuntu

I have been using Ubuntu since 2012. Every 2 years, Ubuntu is going to release a LTS(Long term support) version. For compatibilities reason, I normally reinstall the entire operating system every 2 years. I have mounted the home directory on a different partition. Therefore it would not affect my personal data. It is also a good practice to remove unused packages installed on the machine.

This guide is for recording the necessary steps for myself when I need to reinstall Ubuntu. If it helps you in anyway, or you have any question, feel free to contact me on Github or LinkedIn.

Version: Ubuntu 24.04LTS

Installing Apt Packages


# Update the system to latest version
sudo apt update && sudo apt upgrade

# Install the AppImage Launcher for easier AppImage management
wget https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher_2.2.0-travis995.0f91801.bionic_amd64.deb -O appimagelauncher_latest_amd64.deb
sudo apt install -y ./appimagelauncher_latest_amd64.deb

# Install Google Chrome Stable
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb

# Install VSCode
wget https://update.code.visualstudio.com/latest/linux-deb-x64/stable -O code_latest_amd64.deb
sudo apt install -y ./code_latest_amd64.deb

# Install Synology Drive (Package link might change, Go to https://www.synology.com/en-global/dsm/feature/drive)
wget https://global.synologydownload.com/download/Utility/SynologyDriveClient/3.5.2-16111/Ubuntu/Installer/synology-drive-client-16111.x86_64.deb -o synology_drive.deb
sudo apt install -y ./synology_drive.deb

# Install the common application using APT
sudo apt install -y $(check-language-support -l zh-hant) obs-studio vlc zsh\
krita inkscape shotcut audacity gthumb git\
gnome-shell-extension-manager gir1.2-gtop-2.0 gir1.2-clutter-1.0\
menulibre gromit-mpx xournalpp pdfarranger\
openjdk-21-jdk dotnet-sdk-8.0\
php-cgi php-fpm php curl uidmap\
python-is-python3 python3-pip python3-venv\
tlp zram-config evolution bison cifs-utils\
gcolor3

# Remove Shotwell since I find Gthumb superior in every way
sudo apt purge shotwell

# Install Zulip, the FOSS slack alternative
sudo curl -fL -o /etc/apt/trusted.gpg.d/zulip-desktop.asc https://download.zulip.com/desktop/apt/zulip-desktop.asc
echo "deb https://download.zulip.com/desktop/apt stable main" | sudo tee /etc/apt/sources.list.d/zulip-desktop.list
sudo apt update
sudo apt install zulip

# Install Zoom
wget https://zoom.us/client/latest/zoom_amd64.deb
sudo apt install ./zoom_amd64.deb
sudo apt install -f

# Install Syncthing
sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing

# Install Fsearch
sudo add-apt-repository ppa:christian-boxdoerfer/fsearch-stable
sudo apt install fsearch-stable

Installing Snap Packages

# Install necessary softwares using Snap
snap install spotify && snap install signal-desktop

# Remove unused softwares
snap remove thunderbird

Other installations and configurations

# Install NPM packages
npm install -g forever pnpm yarn tsx typescript

# Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
dockerd-rootless-setuptool.sh install

# Use Oh-my-zsh
chsh -s $(which zsh)

Installing AppImage

Installing applications resided in the home directory

# Install Node Version Manager(NVM)
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

# Install Rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install GVM
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

Installing Cangjie input

In the application Region and Language, add ibus cangjie.

Setting the Compose key

Please refer to the other article.