Initial Settings : Update System
rev 2025/06/13
|
After Rocky Linux Server has been a production System, maybe it's difficult to update System, |
|
| [1] | For commands to updating System, it's possible to use [yum] or [dnf], but both are the link to [dnf-3], so you may use [yum] or [dnf] as you like. |
|
[root@dlp ~]#
which yum /usr/bin/yum
[root@dlp ~]#
ll /usr/bin/yum lrwxrwxrwx. 1 root root 5 May 20 09:00 /usr/bin/yum -> dnf-3
[root@dlp ~]#
which dnf /usr/bin/dnf
[root@dlp ~]#
ll /usr/bin/dnf lrwxrwxrwx. 1 root root 5 May 20 09:00 /usr/bin/dnf -> dnf-3
[root@dlp ~]#
[root@dlp ~]# ll /usr/bin/dnf-3 -rwxr-xr-x. 1 root root 2096 May 20 09:00 /usr/bin/dnf-3 rpm -ql yum /etc/dnf/protected.d/yum.conf /etc/yum.conf /etc/yum/pluginconf.d /etc/yum/protected.d /etc/yum/vars /usr/bin/yum /usr/share/man/man1/yum-aliases.1.gz /usr/share/man/man5/yum.conf.5.gz /usr/share/man/man8/yum-shell.8.gz /usr/share/man/man8/yum.8.gz # included files are all links to [dnf] [root@dlp ~]# ll /etc/yum.conf /etc/yum/vars /etc/yum/pluginconf.d lrwxrwxrwx. 1 root root 12 May 20 09:00 /etc/yum.conf -> dnf/dnf.conf lrwxrwxrwx. 1 root root 14 May 20 09:00 /etc/yum/pluginconf.d -> ../dnf/plugins lrwxrwxrwx. 1 root root 11 May 20 09:00 /etc/yum/vars -> ../dnf/vars |
| [2] | Update Rocky Linux Server like follows. |
|
[root@dlp ~]# dnf -y upgrade Rocky Linux 10 - BaseOS 3.2 MB/s | 4.0 MB 00:01 Rocky Linux 10 - AppStream 1.9 MB/s | 1.9 MB 00:01 Rocky Linux 10 - Extras 5.5 kB/s | 3.9 kB 00:00 Dependencies resolved. ================================================================================================================================ Package Architecture Version Repository Size ================================================================================================================================ Installing: kernel x86_64 6.12.0-55.14.1.el10_0 baseos 451 k Upgrading: kernel-tools x86_64 6.12.0-55.14.1.el10_0 baseos 976 k kernel-tools-libs x86_64 6.12.0-55.14.1.el10_0 baseos 464 k python3-perf x86_64 6.12.0-55.14.1.el10_0 appstream 1.9 M Installing dependencies: kernel-core x86_64 6.12.0-55.14.1.el10_0 baseos 17 M kernel-modules x86_64 6.12.0-55.14.1.el10_0 baseos 38 M kernel-modules-core x86_64 6.12.0-55.14.1.el10_0 baseos 28 M kernel-modules-extra x86_64 6.12.0-55.14.1.el10_0 baseos 1.9 M Transaction Summary ================================================================================================================================ Install 5 Packages Upgrade 3 Packages ..... ..... |
