Category

Linux Tutorials and Command Line Guides

Learn Linux with step-by-step tutorials, command line examples, and system administration guides for Ubuntu, RHEL, CentOS, and more.

Welcome to the Linux tutorials section, your complete resource for mastering Linux commands and system administration.

This category covers everything from basic commands to advanced system-level operations across multiple distributions such as Ubuntu, RHEL, and CentOS.

Linux is the backbone of modern infrastructure, and understanding it is essential for DevOps, cloud computing, and system administration. You may also explore System Administration and Security for advanced topics.

Browse by distribution using the cards below, or scroll to see all Linux articles.

382 articles

Linux category illustration with terminal, commands, permissions, and troubleshooting features

Browse by distribution

Choose your Linux distribution to see install guides and configuration tutorials written for that OS.

All Linux articles

linux

AlmaLinux vs Rocky Linux: Which RHEL-Compatible Distro Should You Run?

Compare AlmaLinux 9/10 and Rocky Linux 9/10 for servers: RHEL compatibility models, support timelines, cPanel support, migration tools, hardware requirements, patching philosophy, and when to pick each Enterprise Linux …

Deepak Prasad10 min read
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
system-administration

OpenLDAP Tutorial for Beginners - Install, Configure, Replicate

Free, hands-on OpenLDAP tutorial - install on RHEL/CentOS/Rocky/Ubuntu, configure TLS, set up master-slave and multi-master replication, integrate Linux clients, and migrate from one server to another. 12 …

Deepak Prasad1 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 EPEL Repository Rocky Linux?

In this tutorial we will share steps and different methods to install EPE repo in Rocky Linux

Omer Cakmak5 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

5 simple steps to create shared folder Oracle VirtualBox

How to create shared folder using Oracle VirtualBox with Linux Operating System? Can I share a folder from Windows host to Linux OS inside Oracle Virtual Box?

Deepak Prasad6 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

Repair Debian Installation After Power Outage

Repair Debian after a power outage using a symptom-first decision tree: fix emergency mode and fstab, run fsck on unmounted ext4, reinstall GRUB on BIOS or UEFI, rebuild initramfs, recover interrupted apt/dpkg, and know …

Deepak Prasad28 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
system-administration

OpenLDAP vs Active Directory: Complete Comparison Guide

OpenLDAP vs Active Directory in plain language: LDAP protocol vs directory services, OpenLDAP vs LDAPS, Samba AD vs Microsoft AD, cost, GPO, Kerberos, Linux integration, and when to choose each.

Deepak Prasad13 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