Skip to content

Latest commit

 

History

History
221 lines (144 loc) · 4.86 KB

dnf.md

File metadata and controls

221 lines (144 loc) · 4.86 KB

Dandified YUM (DNF)

Description

Dandified YUM (DNF) is the next upcoming major version of YUM. It does package management using RPM, libsolv and hawkey libraries. For metadata handling and package downloads it utilizes librepo. To process and effectively handle the comps data it uses libcomps.

Directory

References


Install Software

Description

This details the process of installing software.

References

Steps

  1. To install a single package:

    sudo dnf install <package>

    As an example, to install the vim package:

    sudo dnf install vim
  2. Optionally, use the -y flag to automatically answer "yes" to all prompts:

    sudo dnf install -y <package>
  3. To install multiple packages in a single command, simply separate each package with a space:

    sudo dnf install <package1> <package2> <package3>
  4. To install any of the predefined groups of packages, use the group install command:

    sudo dnf group install '<group>'

    As an example, to install the Development Tools group:

    sudo dnf group install 'Development Tools'

Update Software

Description

This details the process of updating a software or the system.

References

Steps

  1. To update a single package:

    sudo dnf upgrade <package>

    As an example, to upgrade the vim package:

    sudo dnf upgrade vim
  2. To update the entire system:

    sudo dnf upgrade

Remove Software

Description

This details the process of uninstalling software.

References

Steps

  1. To uninstall a single package:

    sudo dnf remove <package>

    As an example, to uninstall the vim package:

    sudo dnf remove vim
  2. Optionally, use the -y flag to automatically answer "yes" to all prompts:

    sudo dnf remove -y <package>
  3. To uninstall multiple packages in a single command, simply separate each package with a space:

    sudo dnf remove <package1> <package2> <package3>

Search Software

Description

This details the process of searching software.

References

Steps

  1. To search for a package:

    dnf search <package>

    As an example, to search for the vim package:

    dnf search vim
  2. To list down all available predefined groups of packages:

    dnf group list

Clean Up

Description

This details the process of cleaning up the system.

References

Steps

  1. To remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed:

    sudo dnf autoremove
  2. To delete cached package files and any data that have been left behind:

    sudo dnf clean all