Repository and Package Management

From Mintarc Forge
Revision as of 08:07, 20 February 2025 by Tommy (talk | contribs) (Created page with "==manage packages using APT== *Install a package: **sudo apt install package_name *Update package lists: **sudo apt update *Upgrade installed packages: **sudo apt upgrade *Remove a package: **sudo apt remove package_name ==Find a package containing a specific file== apt-file search filename *Get package information: **apt show package_name *Check if a package is installed: **apt list --installed | grep package_name *View package dependencies: **apt-cache depends...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

manage packages using APT

  • Install a package:
    • sudo apt install package_name
  • Update package lists:
    • sudo apt update
  • Upgrade installed packages:
    • sudo apt upgrade
  • Remove a package:
    • sudo apt remove package_name

Find a package containing a specific file

apt-file search filename

  • Get package information:
    • apt show package_name
  • Check if a package is installed:
    • apt list --installed | grep package_name
  • View package dependencies:
    • apt-cache depends package_name
  • Check package consistency:
    • apt-cache policy package_name