Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

πŸ€– Artificial Intelligence
☁️ Cloud and Infrastructure
πŸ’Ύ Data and Databases
πŸ’Ό Professional Skills
🎯 Programming and Development
πŸ”’ Security and Networking
πŸ“š Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
Β© 2026 CheatGridβ„’. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Debian Cheat Sheet

Debian Cheat Sheet

Back to Operating Systems and CLI
Updated 2026-04-28
Next Topic: Disk and Storage Management in Linux Cheat Sheet

Debian is a free and open-source Linux distribution first released in 1993, serving as the foundation for hundreds of derivative distributions including Ubuntu, Linux Mint, and Raspberry Pi OS. As one of the oldest and most influential Linux distributions, Debian emphasizes stability, security, and community-driven development, making it ideal for servers, desktops, and embedded systems. Debian 13 "Trixie," released August 9, 2025, ships with Linux kernel 6.12 LTS, systemd 257, OpenSSH 10, Python 3.13, and PHP 8.4, while introducing the deb822 .sources format for APT repository configuration. Understanding Debian's three-branch system (stable/trixie, testing/forky, unstable/sid) is crucial β€” stable prioritizes reliability with thoroughly tested packages, while testing and unstable offer newer software at the cost of occasional breakage.


What This Cheat Sheet Covers

This topic spans 22 focused tables and 302 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Package Management with APTTable 2: Low-Level Package Management with dpkgTable 3: Repository ManagementTable 4: Alternative Package Formats (Flatpak)Table 5: systemd Service ManagementTable 6: User and Group ManagementTable 7: File Permissions and OwnershipTable 8: Process ManagementTable 9: Disk and Storage ManagementTable 10: LUKS Disk EncryptionTable 11: LVM (Logical Volume Management)Table 12: NetworkingTable 13: Firewall with nftablesTable 14: Log ManagementTable 15: System Performance and MonitoringTable 16: Scheduling with cronTable 17: System InformationTable 18: Debian Release BranchesTable 19: SSH Configuration and UsageTable 20: Backup and ArchivingTable 21: Searching and Finding FilesTable 22: System Security

Table 1: Package Management with APT

CommandExampleDescription
apt update
sudo apt update
β€’ Refreshes package list from repositories
β€’ run before installing or upgrading to get latest available versions
apt upgrade
sudo apt upgrade
β€’ Upgrades installed packages without removing existing packages
β€’ safe for routine updates
apt full-upgrade
sudo apt full-upgrade
β€’ Performs complete system upgrade, removing packages if necessary to resolve dependencies
β€’ required for major version upgrades
apt install
sudo apt install nginx
Installs specified package(s) along with all required dependencies
apt --update install
sudo apt --update install curl
β€’ Refreshes package cache and installs in one command
β€’ replaces chaining apt update && apt install
apt remove
sudo apt remove nginx
Removes package but keeps configuration files for potential reinstallation
apt purge
sudo apt purge nginx
Completely removes package including all configuration files
apt autoremove
sudo apt autoremove
Removes orphaned packages that were installed as dependencies but are no longer needed
apt reinstall
sudo apt reinstall nginx
β€’ Reinstalls package preserving existing configuration files
β€’ useful for repairing broken installations

More in Operating Systems and CLI

  • curl and HTTP Command-Line Tools Cheat Sheet
  • Disk and Storage Management in Linux Cheat Sheet
  • AWS CLI Cheat Sheet
  • Linux Bash Cheat Sheet
  • nftables Modern Linux Firewall Cheat Sheet
  • tar gzip zip Archive and Compression Tools Cheat Sheet
View all 51 topics in Operating Systems and CLI