Читать книгу Mastering Linux System Administration - Richard Blum - Страница 100
Upgrading Software with dnf
ОглавлениеIn most Linux distributions, when you're working away in the graphical user interface (GUI), you get those nice little notification icons telling you a software upgrade to a new version is needed. Here at the command line, it takes a little more work.
To see the list of all the available upgrades for your installed packages, type the following command:
dnf list upgrades
If you see that a particular software package needs upgrading, then type in the following command:
dnf upgrade package_name
If you'd like to upgrade all the packages listed in the upgrade list, just enter the following command:
dnf upgrade
One nice feature in dnf
is the upgrade‐minimal
command. It upgrades a package to the latest bug fix or security patch version instead of the latest and greatest version.