Articles by Deepak Prasad
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 …
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 …
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 …
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.
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.
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 …
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.
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 …
How to Install qBittorrent on Ubuntu
Install qBittorrent on Ubuntu with sudo apt install qbittorrent from universe, the official qbittorrent-stable PPA, or Flathub. Compare GUI vs qbittorrent-nox, avoid outdated Snap builds, accept the legal notice, and …
How to Install Picard on Ubuntu
Install MusicBrainz Picard on Ubuntu from universe apt, the official MetaBrainz Snap, or the MusicBrainz stable PPA: verify with picard -V, tag your first album, and uninstall cleanly.
How to Install VS Code on Ubuntu
Install Visual Studio Code on Ubuntu from the official packages.microsoft.com APT repo, a direct .deb download, or Snap: add the Microsoft signing key, install code 1.126, launch with code, and install VS Code Insiders …
Python shelve Module — Persistent Dict-Like Storage
Learn Python shelve for persistent dict-like storage: open(), read/write, access flags, writeback, sync(), thread safety limits, security, and when to use SQLite instead.
How to Set Up a NAS Server on Ubuntu
Turn Ubuntu into a NAS server with Samba for SMB/CIFS shares and NFS for Linux clients: install packages, create /srv/nas storage, add smb.conf shares, export NFS to your LAN, open the firewall, and verify with smbclient …
Must-Have Apps for Ubuntu
A practical must-have Ubuntu apps list for desktop users: what ships by default, a one-shot apt starter bundle, and curated picks for media, security, dev tools, and gaming on Ubuntu 25.04—with apt, Snap, and Flatpak …
How to Mount a Network Drive on Ubuntu
Mount a network drive on Ubuntu over SMB/CIFS or NFS: install cifs-utils, create a mount point, use credentials safely, add fstab entries with _netdev, browse shares in the Files app, and unmount cleanly.
How to Install Velociraptor on Ubuntu
Install Velociraptor on Ubuntu 25.04: download the linux-amd64 binary, generate server.config.yaml, build the Debian server package, enable velociraptor_server, add a GUI admin user, open port 8000 for clients, and …
How to Remove LibreOffice from Ubuntu
Remove LibreOffice from Ubuntu with apt purge or the libreoffice* wildcard, autoremove UNO and URE dependencies, delete ~/.config/libreoffice, uninstall from App Center, and confirm no dpkg or desktop leftovers remain.
How to Clean Disk Space on Ubuntu
Free disk space on Ubuntu with apt clean and autoremove, journalctl vacuum, BleachBit previews, and the Ubuntu Cleaner PPA; find large caches with du and Baobab before you delete anything.
How to Install xoscope on Ubuntu
Install xoscope on Ubuntu from the universe apt package or build 2.3 from source; enable universe, pull GTK and ALSA dev libraries, work around SourceForge 404 and COMEDI API changes, launch the sound-card oscilloscope, …
How to Install Modoboa Mail Server on Ubuntu
Install Modoboa on Ubuntu with the official installer: DNS (MX, SPF, DKIM, DMARC, PTR), Let's Encrypt SSL, domains and mailboxes, webmail and Thunderbird setup, port 25 checks, and common troubleshooting.
How to Install OnlyOffice on Ubuntu
Install OnlyOffice Desktop Editors on Ubuntu from the official download.onlyoffice.com APT repo, a direct .deb, Snap, or Flatpak: import the GPG key, install onlyoffice-desktopeditors 9.4, launch desktopeditors, and …
Python subprocess: Run Shell Commands
Learn how to run shell commands in Python with subprocess.run(). Capture output, check return codes, handle errors, set timeouts, run multiple commands sequentially, and compare subprocess with os.system and os.popen.
Python range()
Learn how Python range() works with examples. Use range() in for loops, understand start, stop, and step, create reverse ranges, convert range to list, use negative steps, and avoid common range mistakes.
Pylint
Learn what Pylint is and how to use it in Python. Install Pylint with pip, run it on files or projects, understand common messages, fix snake_case naming warnings, disable rules, and configure Pylint with pyproject.toml …
Python Progress Bar
Learn how to create a progress bar in Python using print(), carriage return, sys.stdout.flush(), tqdm, progressbar2, and alive-progress. See examples for terminal loops, file processing, downloads, asyncio, and common …
Print Variable in Python
Learn how to print a variable in Python using print(), f-strings, commas, str.format(), and % formatting. See examples for printing strings, numbers, multiple variables, text with variables, and avoiding common TypeError …
Python sorted() Function
Learn how Python sorted() works with examples. Understand the difference between sort() and sorted(), sort lists, tuples, strings, dictionaries, use key functions, reverse=True, lambda, and custom sorting.
Seaborn Scatter Plot
Learn how to create a Seaborn scatter plot using sns.scatterplot(). See examples with hue, style, size, palette, marker size, transparency, labels, legends, and regression lines.
Remove Key from Dictionary in Python
Learn how to remove a key from a Python dictionary using pop(), del, dictionary comprehension, and safe methods to avoid KeyError when the key may not exist.
Sort Dictionary by Key in Python
Learn how to sort a dictionary by key in Python using sorted(), dict(), lambda, itemgetter(), reverse=True, case-insensitive sorting, and nested dictionary examples.

