DNF
Jump to navigation
Jump to search
- Relevant to all editions of PCLinuxOS.
Since the beginning, PCLinuxOS has used the APT package manager with Synaptic as the graphical front-end to manage the RPM packages which make up the system. Whilst this has served us well for over 20 years it is no longer actively maintained and so may fail to meet our needs in the future. So we are gradually moving to use DNF as the package manager. Currently both package managers are working in parallel so users can choose which to use.
For those wishing to use DNF here is a table of the common APT commands and the equivalent DNF command:
| APT command | DNF command | Notes |
|---|---|---|
| apt-get update | dnf check-update | Update the package list |
| apt-get install <package> | dnf install <package> | Install package and it's dependencies |
| apt-get dist-upgrade | dnf distro-sync | Apply all updates |
| apt-get remove <packages> | dnf remove <packages> | Remove package(s) |