Linux Commands Helper

💬 Your AI-powered Linux assistant

dpkg Command - Debian Package Manager

The dpkg command is the low-level package manager for Debian-based systems. It is used to install, remove, and manage .deb packages directly.

Syntax

dpkg [options] [package_file]

Examples

sudo dpkg -i package.deb

Install a .deb package file.

sudo dpkg -r packagename

Remove an installed package by name.

dpkg -l | grep nginx

List all installed packages matching 'nginx'.

Notes

  • dpkg does not resolve dependencies automatically; use apt for that.
  • For RPM-based systems, use rpm instead.
  • Requires root privileges for installation and removal.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame