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
sudo apt update && sudo apt upgrade
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
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb
wget https://update.code.visualstudio.com/latest/linux-deb-x64/stable -O code_latest_amd64.deb
sudo apt install -y ./code_latest_amd64.deb
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
sudo apt purge shotwell
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
wget https://zoom.us/client/latest/zoom_amd64.deb
sudo apt install ./zoom_amd64.deb
sudo apt install -f
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
sudo add-apt-repository ppa:christian-boxdoerfer/fsearch-stable
sudo apt install fsearch-stable
Installing Snap Packages
snap install spotify && snap install color-picker && snap install signal-desktop
snap remove thunderbird
Other installation and configurations
npm install -g forever pnpm yarn ts-node typescript
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
dockerd-rootless-setuptool.sh install
chsh -s $(which zsh)
Installing AppImage
Installing applications resided in the home directory
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
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.