Distro

Ubuntu tutorials

Step-by-step Ubuntu tutorials — install packages, configure services, and fix common issues on Ubuntu LTS and interim releases.

Ubuntu is one of the most widely used Linux distributions for desktops, cloud VMs, and homelab servers. Guides here use apt, Netplan, and systemd patterns that apply to current LTS and interim releases.

Browse step-by-step tutorials for installing packages, configuring services, and fixing common errors on Ubuntu Server and Desktop.

Many articles include copy-paste commands tested on recent LTS versions, with notes when a step differs on older releases.

For Debian upstream workflows or Mint desktop variants, see Debian and Linux Mint.

124 articles

Ubuntu tutorials illustration with apt, Netplan, and systemd server configuration
linux

AlmaLinux vs Ubuntu: Which Should You Run on a Server?

Compare AlmaLinux 9 and 10 with Ubuntu 24.04 LTS for servers: RHEL compatibility, dnf vs apt, SELinux vs AppArmor, support timelines, cPanel hosting, cloud images, migration from CentOS, and practical workload guidance.

Deepak Prasad10 min read
linux

How to Install Yazi on Ubuntu

Install Yazi on Ubuntu from the official GitHub .deb, a zip binary, Snap, or an APT repo; pull in preview dependencies like fd, ripgrep, and fzf; fix the fd-find name on Ubuntu; launch yazi, and uninstall cleanly.

Deepak Prasad13 min read
linux

add-apt-repository: Command Not Found — Fix and How to Add APT Repositories

Fix sudo add-apt-repository command not found on Ubuntu and Debian by installing software-properties-common, verify the binary, add or remove PPAs and third-party repos, and use manual sources.list.d when the helper is …

Deepak Prasad8 min read
linux

Debian 12 vs Ubuntu 24.04 LTS for Servers

Compare Debian 12 Bookworm and Ubuntu 24.04 LTS Noble for servers: release cycles, security support, package freshness, Snap vs pure APT, cloud images, resource use, and when to pick each distro for production workloads.

Deepak Prasad10 min read
linux

Install or Upgrade Python on Ubuntu 24.04 and 22.04 Safely

Install or upgrade Python on Ubuntu 22.04 and 24.04 without replacing system python3: latest stable 3.14, optional 3.15 pre-release, Deadsnakes PPA or source altinstall, virtualenv, safe project migration, and …

Omer Cakmak12 min read
linux

How to Install Caddy Web Server on Ubuntu

Install Caddy on Ubuntu from the official Cloudsmith APT repo: add the GPG key, apt install caddy 2.11.4, verify systemd, serve a static site with a Caddyfile, open UFW ports 80 and 443, and enable automatic HTTPS for …

Deepak Prasad8 min read
linux

How to install Epson et-2720 on Ubuntu? [SOLVED]

Ubuntu is a free and open-source operating system that is widely used in desktops and servers. It is known for its stability, security, and ease of use. One

Omer Cakmak4 min read
linux

How to Install NordVPN on Ubuntu

Install NordVPN on Ubuntu with the official install.sh script or Snap, add your user to the nordvpn group, log in with nordvpn login, connect with nordvpn connect, and fix Permission denied nordvpnd.sock and LAN …

Omer Cakmak6 min read
linux

How to Remove Unused Packages on Ubuntu

Remove unused packages on Ubuntu with apt autoremove for orphaned dependencies, apt clean and autoclean for download cache, purge rc config leftovers, protect apps with apt-mark manual, and prune old Snap …

Omer Cakmak8 min read
linux

How to Install Wireshark on Ubuntu

Install Wireshark on Ubuntu with sudo apt install wireshark from universe, allow non-root capture via wireshark-common debconf, add your user to the wireshark group, and optionally install tshark for CLI-only capture on …

Omer Cakmak5 min read
linux

How to Install jq on Ubuntu

Install jq on Ubuntu with sudo apt install jq, verify with jq --version, pretty-print and filter JSON from files and curl output, fix Unable to locate package jq with apt update, and optionally install jq 1.8.x from …

Deepak Prasad5 min read
linux

How to Install zlib on Ubuntu

Install zlib on Ubuntu with sudo apt install zlib1g-dev for headers and pkg-config, fix configure could not find the zlib library and zlib.h not found errors, verify with pkg-config --modversion zlib, and optionally …

Deepak Prasad5 min read
linux

How to Install NVM on Ubuntu

Install NVM on Ubuntu with the official install.sh script, load it in bash or zsh, install LTS Node.js with nvm install --lts, switch versions with nvm use, set a default alias, and fix nvm command not found and Snap …

Deepak Prasad7 min read
linux

How to Remove Obsolete Packages on Ubuntu

List obsolete packages on Ubuntu with apt list ?obsolete, preview removal with apt-get -s, purge safely after do-release-upgrade, and distinguish obsolete packages from autoremove and rc config cleanup.

Omer Cakmak7 min read
linux

How to Install Slack on Ubuntu

Install Slack on Ubuntu with Slack Packagecloud APT repo, official slack-desktop .deb from slack.com, or sudo snap install slack. Launch with slack, update per method, and remove only one desktop package at a time.

Omer Cakmak7 min read
linux

How to Install HPLIP on Ubuntu

Install HPLIP on Ubuntu with sudo apt install hplip hplip-gui for most HP printers, use HP SourceForge .run when your model needs a newer driver, run hp-plugin and hp-setup to add the device, and remove conflicts before …

Deepak Prasad8 min read
linux

How to Install Kali Linux Tools on Ubuntu

Install Kali Linux tools on Ubuntu with sudo apt install for nmap, sqlmap, nikto, and other hacking tools in Ubuntu repositories. Use Snap when apt has no package. Katoolin is legacy on modern Ubuntu—use a Kali VM when …

Deepak Prasad8 min read
linux

How to Install Rscript on Ubuntu

Install Rscript on Ubuntu with sudo apt install r-base from universe, optionally add the CRAN apt repository on supported LTS releases, verify with Rscript --version, run example.R from the shell or cron, and uninstall …

Omer Cakmak5 min read
linux

How to Install Grafana on Ubuntu

Install Grafana on Ubuntu 25.04 from the official apt.grafana.com repository or a .deb package: import the GPG key, enable grafana-server, open port 3000, log in as admin, and verify with curl and /api/health.

Deepak Prasad6 min read
linux

How to Install XCP-ng Guest Tools on Ubuntu

Install XCP-ng guest tools on Ubuntu with apt install xe-guest-utilities or the guest-tools ISO from Xen Orchestra; enable xe-daemon, verify management agent detection, and use the ISO when apt lags behind XCP-ng.

Deepak Prasad7 min read
linux

How to Install qBittorrent-nox on Ubuntu

Install qbittorrent-nox on Ubuntu from the official PPA or universe repo, accept the legal notice, log in to the Web UI, run it under a dedicated user with the bundled systemd template, open the firewall safely, and fix …

Deepak Prasad9 min read
linux

How to Install Telegram on Ubuntu

Install Telegram Desktop on Ubuntu with Snap, the official tsetup Linux tarball from desktop.telegram.org, or Flatpak: verify version 6.9.3, launch from the app menu, update with snap refresh, and uninstall cleanly.

Deepak Prasad6 min read
linux

How to Install Steam on Ubuntu

Install Steam on Ubuntu with Valve official steam_latest.deb (recommended), sudo apt install steam-installer from multiverse, Snap, or Flatpak. Enable i386 multiarch, install GPU drivers, bootstrap the client on first …

Deepak Prasad7 min read
linux

How to List Installed Packages on Ubuntu

List installed packages on Ubuntu with apt list --installed, dpkg -l, snap list, and apt-mark showmanual. Search one package, count totals, export a list for another machine, and check upgradable packages.

Omer Cakmak9 min read
linux

How to Install gpart on Ubuntu

Install gpart on Ubuntu with sudo apt install gpart from universe, run a read-only scan when the MBR or partition table is damaged, use gpart on a live USB, and know how gpart differs from the GParted graphical editor.

Deepak Prasad6 min read
linux

How to Install AWS CLI on Ubuntu

Install AWS CLI on Ubuntu with the official v2 Linux installer (recommended), sudo apt install awscli from universe, or the Amazon Snap. Configure with aws configure, verify with aws --version and aws sts …

Deepak Prasad7 min read
linux

How to Install Jellyfin on Ubuntu

Install Jellyfin on Ubuntu with the official apt repository on 22.04 and 24.04 LTS, or run jellyfin/jellyfin in Docker on Ubuntu 25.04 where noble-repo packages fail dependency checks. Enable systemd, open port 8096, and …

Deepak Prasad9 min read
linux

How to Install Fastfetch on Ubuntu

Install Fastfetch on Ubuntu with sudo apt install fastfetch from universe, or use the official GitHub .deb or tarball for the latest release. Configure presets, replace unmaintained Neofetch, and run fastfetch on login.

Deepak Prasad9 min read
linux

How to Use iTunes and Apple Music on Ubuntu

Apple does not ship iTunes for Linux. On Ubuntu use Apple Music in a browser, Rhythmbox or Amberol for local libraries, or experiment with legacy iTunes 12.x under Wine—expect instability, no iPhone sync, and …

Deepak Prasad6 min read
linux

How to Install Google Chrome Web Browser on Ubuntu

Install the Google Chrome web browser on Ubuntu by downloading the official amd64 .deb from Google, run sudo apt install ./google-chrome-stable_current_amd64.deb, set Chrome as default, update with apt, and compare …

Deepak Prasad6 min read