Skip to content

Instantly share code, notes, and snippets.

@agtbaskara
Last active September 27, 2026 07:06
Show Gist options
  • Select an option

  • Save agtbaskara/4057dccdf7842a7b7a01dae4bc18c0a1 to your computer and use it in GitHub Desktop.

Select an option

Save agtbaskara/4057dccdf7842a7b7a01dae4bc18c0a1 to your computer and use it in GitHub Desktop.
Setup guide for Ubuntu 24.04

Ubuntu 24.04 Installation Recipe

A guide to setting up Ubuntu 24.04

Operating System Install

  1. Download the Ubuntu ISO (https://releases.ubuntu.com/24.04/).
  2. Build a bootable USB using Rufus (https://rufus.ie/) or balenaEtcher (https://etcher.balena.io/).
  3. Boot from the USB and start the installation.
  4. Fill in your name, username, and password.
  5. Do not change the location (use New York / US).
  6. Restart after the install completes.
  7. Log in.
  8. Reboot.

Software Install

System Configuration

  1. Install the language pack update in Settings.
  2. Change the timezone.
  3. Install the Ubuntu restricted extras package:
    sudo apt install ubuntu-restricted-extras

Command-Line Tools

  1. Install Vim:
    sudo apt install vim
  2. Change the Vim settings (Optional) (https://gist.github.com/agtbaskara/a3ec4c9de9e425700db4fca16121b058).
  3. Install Git:
    sudo apt install git git-lfs
  4. Install the 7-Zip CLI:
    sudo apt install p7zip-full p7zip-rar
  5. Install FFmpeg:
    sudo apt install ffmpeg
  6. Install compiler and debugger:
    sudo apt install build-essential make cmake gdb llvm lldb clang ninja-build

Development

  1. Install the JDK (https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-20-04):
    sudo apt install default-jdk
  2. Install uv (https://docs.astral.sh/uv/getting-started/installation/).
  3. Install Docker (https://docs.docker.com/engine/install/ubuntu/).
  4. Complete the Docker post-install steps (https://docs.docker.com/engine/install/linux-postinstall/), then reboot.
  5. Install Visual Studio Code (https://code.visualstudio.com/).
  6. Install Sublime Text (https://www.sublimetext.com/docs/linux_repositories.html).

Applications

  1. Install VLC:
    sudo apt install vlc
  2. Install FileZilla:
    sudo apt install filezilla
  3. 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
  4. 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
  5. Install Tailscale (https://tailscale.com/download), then enable systemtray
    chmod 755 ~/.config/autostart
    tailscale configure systray --enable-startup=freedesktop
  6. Install Okular (from the Ubuntu App Center).
  7. Install ONLYOFFICE (https://www.onlyoffice.com/desktop).
  8. Install Discord (https://discord.com/download).
  9. Install Slack (https://slack.com/downloads/linux).
  10. Install Bottles (https://usebottles.com/).
  11. Install draw.io (https://github.com/jgraph/drawio-desktop/releases).
  12. Install balenaEtcher (https://etcher.balena.io/).
  13. Install RustDesk (https://rustdesk.com/download), then disable its service

GNOME Extensions

  1. 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
  2. Install Caffeine (https://extensions.gnome.org/extension/517/caffeine/).
  3. Install Dash to Panel (https://extensions.gnome.org/extension/1160/dash-to-panel/).
  4. Install Removable Drive Menu (https://extensions.gnome.org/extension/7/removable-drive-menu/).
  5. Install Window Is Ready - Notification Remover (https://extensions.gnome.org/extension/1007/window-is-ready-notification-remover/).

Optional

Fix Dual Boot Time Sync Issues (Dual boot only)

Fix dual boot time error (http://www.webupd8.org/2014/09/dual-boot-fix-time-differences-between.html)

timedatectl set-local-rtc 1

Enbale OpenSSH Server

sudo apt install openssh-server -y
sudo systemctl enable ssh
sudo systemctl start ssh

NVIDIA Drivers (NVIDIA GPU only)

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 reboot

NVIDIA Container Toolkit (NVIDIA GPU only)

Set 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).

AMD Drivers (AMD GPU only)

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 reboot

Battery Health Charging Extension (Laptops only)

Install Battery Health Charging (https://extensions.gnome.org/extension/5724/battery-health-charging/)

Fix ThinkPad T14 Gen 5 AMD Issues

  1. 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).
  2. Fix Wi-Fi, Qualcomm QCNFA765 (https://www.damian-freelance.com/blog/thinkpad-t14-amd-qualcomm-qcnfa765-fix-wifi-on-linux).
  3. Fix automatic brightness reduction after sleep (https://www.damian-freelance.com/blog/thinkpad-t14-amd-fix-automatic-brightness-reduction-after-sleep-on-linux).

Comments are disabled for this gist.