linux

How to List Users in Linux (getent, passwd, who, id)

List users in Linux with getent, /etc/passwd, who, and id. Filter normal and system accounts, see logged-in sessions, and check whether a user exists on Ubuntu and RHEL.

Deepak Prasad9 min read
linux

How to List Groups in Linux and Check User Group Membership

List groups in Linux with getent, groups, id, and /etc/group. Check user group membership, list group members, and compare primary vs supplementary groups.

Deepak Prasad10 min read
linux

How to Install Node.js on Ubuntu

Install Node.js on Ubuntu with apt nodejs, NodeSource setup scripts, NVM for multiple versions, or the official nodejs.org linux-x64 tar.xz under /opt, verify with node --version and npm --version, and uninstall per …

Deepak Prasad10 min read
security

Import Certificate into Java cacerts on Ubuntu, Debian, RHEL, Rocky Linux

Import a CA or TLS certificate into Java cacerts on Ubuntu, Debian, RHEL, and Rocky Linux with keytool -importcert: locate cacerts, use a copy for safe testing, default password changeit, and distro-specific system trust …

Deepak Prasad8 min read
security

How to Install keytool on Ubuntu

Fix keytool command not found on Ubuntu by installing OpenJDK (default-jdk or openjdk-21-jdk), set JAVA_HOME and PATH, verify with keytool -help, run a PKCS12 smoke test, update through apt, and uninstall cleanly.

Deepak Prasad11 min read
security

How to Install OpenSSL on Ubuntu

Install OpenSSL on Ubuntu with apt (openssl and libssl-dev), verify with openssl version, understand when the distro package is enough versus building from source, and generate a test TLS key and certificate.

Deepak Prasad6 min read
linux

Ubuntu vs Linux Mint in 2026: Which Desktop Linux Should You Choose?

Compare Ubuntu 26.04 LTS and Linux Mint 22.3 in 2026: downstream Mint on Noble vs Canonical Ubuntu, GNOME vs Cinnamon, snap vs Flatpak policy, Mint tools, support timelines, hardware, developers, and which to install.

Deepak Prasad16 min read
linux

Ubuntu vs Fedora in 2026: Which Linux Distro Should You Choose?

Compare Ubuntu 26.04 LTS and Fedora Linux 44 in 2026: Debian-derived APT vs RHEL-upstream DNF, five-year LTS vs 13-month releases, snap vs Flatpak, AppArmor vs SELinux, cloud and enterprise fit, and practical desktop …

Deepak Prasad16 min read
linux

Ubuntu Server vs Desktop in 2026: Which Edition Should You Install?

Compare Ubuntu 26.04 LTS Server and Desktop in 2026: same archive and kernel, different metapackages, RAM and disk requirements, installers, headless vs GNOME, cloud images, adding a GUI, and when to pick each edition.

Deepak Prasad14 min read
linux

How to Downgrade Ubuntu 26.04 LTS to 25.04

Unsupported two-hop downgrade Ubuntu 26.04 LTS to 25.04 via 25.10 using apt pinning and aptitude—no data loss under /home on our VirtualBox VM—reboot between hops, Python and GRUB failures, libc6 hybrid state, and when …

Deepak Prasad10 min read
linux

How to Upgrade Ubuntu 25.04 to 26.04 LTS

Upgrade Ubuntu 25.04 to 26.04 LTS with do-release-upgrade via the required 25.10 hop—no data loss on /home in our VirtualBox test—apt full-upgrade and reboot checks, and fixes when the upgrader blocks on a pending reboot …

Deepak Prasad12 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 Cakmak9 min read
linux

How to Downgrade Ubuntu 21.04 to 20.04 LTS?

Downgrade Ubuntu 21.04 (Hirsute Hippo) to 20.04 LTS (Focal Fossa) with apt pinning, sources.list retargeting, and aptitude dist-upgrade—no data loss under /home when the run completes, plus dpkg recovery, reboot checks, …

Omer Cakmak9 min read
linux

How to Check Ubuntu Version: Command Line, GUI, Server & WSL

Learn how to check Ubuntu version from the command line or GUI. Use lsb_release, /etc/os-release, hostnamectl, /etc/issue, or Settings to find your Ubuntu release, version number, codename, and kernel.

Deepak Prasad10 min read
linux

Kubuntu vs Ubuntu MATE in 2026: Which Ubuntu Flavor Fits You?

Compare Kubuntu 26.04 LTS and Ubuntu MATE 24.04/25.10 in 2026: KDE Plasma vs MATE desktop, support timelines, hardware fit, customization, Wayland, applications, and which official Ubuntu flavor to pick for your PC.

Deepak Prasad17 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 Prasad13 min read
linux

Arch Linux vs Ubuntu in 2026: Which Linux Distro Should You Choose?

Compare Arch Linux and Ubuntu 26.04 LTS in 2026: rolling release vs LTS cadence, pacman vs APT, AUR vs snap, DIY minimal install vs GNOME desktop, cloud and enterprise fit, security defaults, and practical guidance.

Deepak Prasad15 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 Prasad14 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 Prasad10 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 Cakmak8 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 Cakmak9 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 Cakmak7 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 Prasad7 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 Prasad7 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 Prasad9 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 Cakmak8 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 Cakmak6 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 Prasad8 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 Prasad9 min read