A guide to setting up Ubuntu 24.04
- Download the Ubuntu ISO (https://releases.ubuntu.com/24.04/).
- Build a bootable USB using Rufus (https://rufus.ie/) or balenaEtcher (https://etcher.balena.io/).
- Boot from the USB and start the installation.
- Fill in your name, username, and password.
- Do not change the location (use New York / US).
- Restart after the install completes.
- Log in.
- Reboot.
- Install the language pack update in Settings.
- Change the timezone.
- Install the Ubuntu restricted extras package:
sudo apt install ubuntu-restricted-extras
- Install Vim:
sudo apt install vim
- Change the Vim settings (Optional) (https://gist.github.com/agtbaskara/a3ec4c9de9e425700db4fca16121b058).
- Install Git:
sudo apt install git git-lfs
- Install the 7-Zip CLI:
sudo apt install p7zip-full p7zip-rar
- Install FFmpeg:
sudo apt install ffmpeg
- Install compiler and debugger:
sudo apt install build-essential make cmake gdb llvm lldb clang ninja-build
- Install the JDK (https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-20-04):
sudo apt install default-jdk
- Install uv (https://docs.astral.sh/uv/getting-started/installation/).
- Install Docker (https://docs.docker.com/engine/install/ubuntu/).
- Complete the Docker post-install steps (https://docs.docker.com/engine/install/linux-postinstall/), then reboot.
- Install Visual Studio Code (https://code.visualstudio.com/).
- Install Sublime Text (https://www.sublimetext.com/docs/linux_repositories.html).
- Install VLC:
sudo apt install vlc
- Install FileZilla:
sudo apt install filezilla
- Install OBS (https://github.com/obsproject/obs-studio/wiki/install-instructions#supported-builds).
sudo add-apt-repository ppa:obsproject/obs-studio sudo apt update sudo apt install obs-studio
- Install Zotero (https://github.com/retorquere/zotero-pkg):
wget -qO- https://raw.githubusercontent.com/retorquere/zotero-pkg/master/install.sh | sudo bash sudo apt update sudo apt install zotero - Install Tailscale (https://tailscale.com/download), then enable systemtray
chmod 755 ~/.config/autostart tailscale configure systray --enable-startup=freedesktop - Install Okular (from the Ubuntu App Center).
- Install ONLYOFFICE (https://www.onlyoffice.com/desktop).
- Install Discord (https://discord.com/download).
- Install Slack (https://slack.com/downloads/linux).
- Install Bottles (https://usebottles.com/).
- Install draw.io (https://github.com/jgraph/drawio-desktop/releases).
- Install balenaEtcher (https://etcher.balena.io/).
- Install RustDesk (https://rustdesk.com/download), then disable its service
- Install the GNOME Shell extension connector, required to install extensions from the browser (https://gnome.pages.gitlab.gnome.org/gnome-browser-integration/pages/installation-guide.html#ubuntu_linux):
sudo apt-get install gnome-browser-connector
- Install Caffeine (https://extensions.gnome.org/extension/517/caffeine/).
- Install Dash to Panel (https://extensions.gnome.org/extension/1160/dash-to-panel/).
- Install Removable Drive Menu (https://extensions.gnome.org/extension/7/removable-drive-menu/).
- Install Window Is Ready - Notification Remover (https://extensions.gnome.org/extension/1007/window-is-ready-notification-remover/).
Fix dual boot time error (http://www.webupd8.org/2014/09/dual-boot-fix-time-differences-between.html)
timedatectl set-local-rtc 1sudo apt install openssh-server -y
sudo systemctl enable ssh
sudo systemctl start ssh
Add the graphics-drivers PPA, then install the recommended driver (https://linuxconfig.org/how-to-install-nvidia-drivers-on-ubuntu-24-04):
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo ubuntu-drivers autoinstall
sudo rebootSet up the NVIDIA Container Toolkit so Docker containers can use the GPU (https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html).
Download the AMD driver Debian package (https://www.amd.com/en/support/download/drivers.html), then run:
sudo apt update
sudo apt install ./amdgpu-install_*.deb
sudo amdgpu-install -y --usecase=graphics,multimedia
sudo usermod -a -G render,video $USER
sudo rebootInstall Battery Health Charging (https://extensions.gnome.org/extension/5724/battery-health-charging/)
- Fix battery drain in sleep mode (https://www.damian-freelance.com/blog/thinkpad-t14-gen-5-amd-fix-battery-drain-issue-in-sleep-mode-on-linux).
- Fix Wi-Fi, Qualcomm QCNFA765 (https://www.damian-freelance.com/blog/thinkpad-t14-amd-qualcomm-qcnfa765-fix-wifi-on-linux).
- Fix automatic brightness reduction after sleep (https://www.damian-freelance.com/blog/thinkpad-t14-amd-fix-automatic-brightness-reduction-after-sleep-on-linux).