パッケージ管理システム設定

インストール済パッケージの一括アップデート

[root@falcon21 ~]# dnf -y updateメタデータの期限切れの最終確認: 2:47:59 前の 2025年11月10日 12時07分31秒 に実施しました。
依存関係が解決しました。
行うべきことはありません。
完了しました!

*** AlmaLinux10 は、まだ新しいのでアップデート材料は無い。

—————-

dnf-automaticインストール
root@falcon21 ~]# dnf -y install dnf-automatic
インストール済み:
dnf-automatic-4.20.0-14.el10_0.alma.1.noarch

完了しました!


DNF Automatic設定ファイル編集
root@falcon21 ~]# vi /etc/dnf/automatic.conf 
19 # Whether updates should be applied when they are available, by
20 # dnf-automatic.timer. notifyonly.timer, download.timer and
21 # install.timer override this setting.
22 apply_updates = yes ← 利用可能な更新のダウンロードとインストールを自動で行う

—————-

ソフトウェア更新の自動化を有効化
root@falcon21 ~]# systemctl enable dnf-automatic-install.timer 
Created symlink ‘/etc/systemd/system/timers.target.wants/dnf-automatic-install.timer’ → ‘/usr/lib/systemd/system/dnf-automatic-install.timer’.
 

ソフトウェア更新の自動化を起動
root@falcon21 ~]# systemctl start dnf-automatic-install.timer


—————-

ベース、開発ツールパッケージ群インストール
root@falcon21 ~]# dnf -y groupinstall base “Development tools” 
113個のパッケージインストール

—————-

シスログローテーション設定ファイルインストール
root@falcon21 ~]# dnf -y install rsyslog-logrotate