Skip to content

PACKAGE MANAGEMENT CHEATSHEET

ARCH

  • SEARCH
    • pacman -F filename
    • pacman -Ss name
  • INSTALL
    • pacman -S packagename
  • UPDATE
    • pacman -Syu
  • REMOVE
    • pacman -Rsu packagename

DEBIAN/UBUNTU/MINT

  • SEARCH
    • apt-cache search name
    • dpkg -S filename
  • INSTALL
    • apt install packagename
  • UPDATE
    • apt update && apt upgrade
  • REMOVE
    • apt remove packagename

OPENSUSE

  • SEARCH
    • zypper se filename
    • zypper se name
  • INSTALL
    • zypper in packagename
  • UPDATE
    • zypper up
  • REMOVE
    • zypper rm packagename

MAGEIA

  • SEARCH
    • urpmf filename
    • urpmf package
  • INSTALL
    • urpmi packagename
  • UPDATE
    • urpmi -auto-select -update
  • REMOVE
    • urpme packagename

RHEL/FEDORA/OPENMANDRIVA

  • SEARCH
    • dnf search name
    • dnf provides filename
  • INSTALL
    • dnf install packagename
  • UPDATE
    • dnf update
  • REMOVE
    • dnf remove packagename

SLACKWARE

  • SEARCH
    • slackpkg search packagename
    • slackpkg file-search filename
  • INSTALL
    • slackpkg install packagename
  • UPDATE
    • slackpkg update && slackpkg upgrade-all
    • slackpkg update && slackpkg upgrade
  • REMOVE
    • slackpkg remove packagename