• Root/
  • Linux/
  • Package managers/
  • DNF
  • Package manager of Fedora

    Documentation: Fedora docs on DNF

    Description Command Notes
    Show help dnf
    Checking for new updates dnf check-update This command should be safe - reported failures might be temporary.
    Installing updates dnf upgrade
    Installing updates (specific package) dnf upgrade package_name
    Searching for package (by names and summaries) dnf search KEYWORD
    Searching for package (by descriptions and URLs) dnf search all KEYWORD
    Displaying information about package dnf info PACKAGE_NAME
    Installing new package dnf install PACKAGE_NAME
    Removing package dnf remove PACKAGE_NAME DNF cannot remove packages that are depended on - it's possible using RPM but unrecommended (will likely break system or at least some packages)
    Listing packages dnf list [EXPR]
    Listing installed packages dnf list installed [EXPR]
    Listing available packages dnf list available [EXPR]
    Listing ALL packages (installed and available) dnf list all [EXPR]

    Last update: 2024-05-20