Debian package management: Difference between revisions

From Mintarc Forge
Created page with "==<anage Debian packages using dpkg== *Install a package: **sudo dpkg -i package.deb *Upgrade a package: **sudo dpkg -i new_version_package.deb *Uninstall a package: **sudo dpkg -r package_name *Display a list of installed packages: **dpkg --list *Reconfigure an installed package: **sudo dpkg-reconfigure package_name"
 
 
Line 1: Line 1:
==<anage Debian packages using dpkg==
==Manage Debian packages using dpkg==


*Install a package:
*Install a package:

Latest revision as of 08:09, 20 February 2025

Manage Debian packages using dpkg

  • Install a package:
    • sudo dpkg -i package.deb
  • Upgrade a package:
    • sudo dpkg -i new_version_package.deb
  • Uninstall a package:
    • sudo dpkg -r package_name
  • Display a list of installed packages:
    • dpkg --list
  • Reconfigure an installed package:
    • sudo dpkg-reconfigure package_name