両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:commands:package_management [2025/03/21 06:44] – [dnf / yum 比較] ともやん | linux:commands:package_management [2025/03/29 20:06] (現在) – [パッケージ管理] ともやん |
---|
.dokuwiki div.wrap_mintbl table td { | .dokuwiki div.wrap_mintbl table td { |
vertical-align: top; | vertical-align: top; |
| padding: .3em; /* bootstrap fix */ |
} | } |
.dokuwiki div.wrap_mintbl table div.wrap_color_command { | .dokuwiki div.wrap_mintbl table div.wrap_color_command { |
</WRAP> | </WRAP> |
| |
| dnf5 で builddep を使用する場合...🤔\\ |
| ※要インストール ''dnf5-command(builddep)''😉\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">dnf</font> install <font color="#A347BA">-y</font> <font color="#A2734C">'dnf5-command</font><font color="#2A7BDE"><b>(</b></font><font color="#A2734C">builddep</font><font color="#2A7BDE"><b>)</b></font><font color="#A2734C">'</font> |
| </pre></html></WRAP> |
| <WRAP color_result_hlong><html><pre> |
| Updating and loading repositories: |
| Repositories loaded. |
| <b>Package </b> <b>Arch </b> <b>Version </b> <b>Repository </b> <b> Size</b> |
| Upgrading: |
| <font color="#26A269"> dnf5 </font> x86_64 <b>5.2.12.0-1.fc41 </b> updates 2.2 MiB |
| <font color="#7D7D7D"> replacing dnf5 x86_64 5.2.11.0-1.fc41 updates 2.2 MiB</font> |
| <font color="#26A269"> libdnf5 </font> x86_64 <b>5.2.12.0-1.fc41 </b> updates 3.6 MiB |
| <font color="#7D7D7D"> replacing libdnf5 x86_64 5.2.11.0-1.fc41 updates 3.5 MiB</font> |
| <font color="#26A269"> libdnf5-cli </font> x86_64 <b>5.2.12.0-1.fc41 </b> updates 883.4 KiB |
| <font color="#7D7D7D"> replacing libdnf5-cli x86_64 5.2.11.0-1.fc41 updates 883.1 KiB</font> |
| <font color="#26A269"> rpm </font> x86_64 <b>4.20.1-1.fc41 </b> updates 3.1 MiB |
| <font color="#7D7D7D"> replacing rpm x86_64 4.20.0-1.fc41 fedora 3.1 MiB</font> |
| <font color="#26A269"> rpm-libs </font> x86_64 <b>4.20.1-1.fc41 </b> updates 730.0 KiB |
| <font color="#7D7D7D"> replacing rpm-libs x86_64 4.20.0-1.fc41 fedora 725.9 KiB</font> |
| Installing: |
| <font color="#26A269"> dnf5-plugins </font> x86_64 5.2.12.0-1.fc41 updates 1.2 MiB |
| Installing dependencies: |
| <font color="#26A269"> dbus </font> x86_64 1:1.14.10-4.fc41 fedora 0.0 B |
| <font color="#26A269"> dbus-broker </font> x86_64 36-4.fc41 fedora 382.8 KiB |
| <font color="#26A269"> dbus-common </font> noarch 1:1.14.10-4.fc41 fedora 11.2 KiB |
| <font color="#26A269"> device-mapper </font> x86_64 1.02.199-4.fc41 fedora 348.2 KiB |
| <font color="#26A269"> device-mapper-libs </font> x86_64 1.02.199-4.fc41 fedora 414.7 KiB |
| <font color="#26A269"> elfutils-default-yama-scope </font> noarch 0.192-9.fc41 updates 1.8 KiB |
| <font color="#26A269"> elfutils-libelf </font> x86_64 0.192-9.fc41 updates 1.2 MiB |
| <font color="#26A269"> elfutils-libs </font> x86_64 0.192-9.fc41 updates 670.2 KiB |
| <font color="#26A269"> file-libs </font> x86_64 5.45-7.fc41 fedora 9.9 MiB |
| <font color="#26A269"> kbd </font> x86_64 2.6.4-4.fc41 fedora 1.5 MiB |
| <font color="#26A269"> kbd-legacy </font> noarch 2.6.4-4.fc41 fedora 567.1 KiB |
| <font color="#26A269"> kbd-misc </font> noarch 2.6.4-4.fc41 fedora 2.5 MiB |
| <font color="#26A269"> kmod </font> x86_64 33-1.fc41 fedora 235.5 KiB |
| <font color="#26A269"> libseccomp </font> x86_64 2.5.5-2.fc41 fedora 173.3 KiB |
| <font color="#26A269"> rpm-build-libs </font> x86_64 4.20.1-1.fc41 updates 210.7 KiB |
| <font color="#26A269"> systemd-pam </font> x86_64 256.12-1.fc41 updates 1.1 MiB |
| <font color="#26A269"> xkeyboard-config </font> noarch 2.42-2.fc41 fedora 6.5 MiB |
| Installing weak dependencies: |
| <font color="#26A269"> cryptsetup-libs </font> x86_64 2.7.5-1.fc41 fedora 2.3 MiB |
| <font color="#26A269"> diffutils </font> x86_64 3.10-8.fc41 fedora 1.6 MiB |
| <font color="#26A269"> elfutils-debuginfod-client </font> x86_64 0.192-9.fc41 updates 84.2 KiB |
| <font color="#26A269"> kmod-libs </font> x86_64 33-1.fc41 fedora 147.2 KiB |
| <font color="#26A269"> libbpf </font> x86_64 2:1.4.7-1.fc41 updates 402.5 KiB |
| <font color="#26A269"> libxkbcommon </font> x86_64 1.7.0-4.fc41 fedora 336.4 KiB |
| <font color="#26A269"> qrencode-libs </font> x86_64 4.1.1-8.fc41 fedora 160.9 KiB |
| <font color="#26A269"> systemd </font> x86_64 256.12-1.fc41 updates 16.4 MiB |
| <font color="#26A269"> systemd-networkd </font> x86_64 256.12-1.fc41 updates 2.1 MiB |
| <font color="#26A269"> systemd-resolved </font> x86_64 256.12-1.fc41 updates 671.1 KiB |
| <font color="#26A269"> systemd-udev </font> x86_64 256.12-1.fc41 updates 12.0 MiB |
| <font color="#26A269"> tpm2-tss </font> x86_64 4.1.3-3.fc41 fedora 1.6 MiB |
| |
| Transaction Summary: |
| Installing: 30 packages |
| Upgrading: 5 packages |
| Replacing: 5 packages |
| |
| Total size of inbound packages is 20 MiB. Need to download 20 MiB. |
| After this operation, 65 MiB extra will be used (install 75 MiB, remove 10 MiB). |
| [ 1/35] rpm-build-libs-0:4.20.1-1.fc41.x86_64 100% | 42.8 KiB/s | 98.8 KiB | 00m02s |
| [ 2/35] dnf5-plugins-0:5.2.12.0-1.fc41.x86_64 100% | 52.3 KiB/s | 454.1 KiB | 00m09s |
| [ 3/35] elfutils-libelf-0:0.192-9.fc41.x86_64 100% | 19.8 KiB/s | 207.3 KiB | 00m10s |
| [ 4/35] file-libs-0:5.45-7.fc41.x86_64 100% | 53.3 KiB/s | 762.0 KiB | 00m14s |
| [ 5/35] elfutils-libs-0:0.192-9.fc41.x86_64 100% | 34.4 KiB/s | 261.8 KiB | 00m08s |
| [ 6/35] elfutils-default-yama-scope-0:0.192-9.fc41.noarch 100% | 3.4 KiB/s | 12.4 KiB | 00m04s |
| [ 7/35] elfutils-debuginfod-client-0:0.192-9.fc41.x86_64 100% | 20.1 KiB/s | 46.3 KiB | 00m02s |
| [ 8/35] dbus-1:1.14.10-4.fc41.x86_64 100% | 2.3 KiB/s | 7.9 KiB | 00m03s |
| [ 9/35] libseccomp-0:2.5.5-2.fc41.x86_64 100% | 4.2 KiB/s | 70.2 KiB | 00m17s |
| [10/35] systemd-pam-0:256.12-1.fc41.x86_64 100% | 10.7 KiB/s | 397.5 KiB | 00m37s |
| [11/35] dbus-broker-0:36-4.fc41.x86_64 100% | 5.2 KiB/s | 171.7 KiB | 00m33s |
| [12/35] libxkbcommon-0:1.7.0-4.fc41.x86_64 100% | 61.5 KiB/s | 143.3 KiB | 00m02s |
| [13/35] systemd-0:256.12-1.fc41.x86_64 100% | 86.6 KiB/s | 5.5 MiB | 01m05s |
| [14/35] dbus-common-1:1.14.10-4.fc41.noarch 100% | 537.0 B/s | 14.7 KiB | 00m28s |
| [15/35] xkeyboard-config-0:2.42-2.fc41.noarch 100% | 53.7 KiB/s | 972.3 KiB | 00m18s |
| [16/35] libbpf-2:1.4.7-1.fc41.x86_64 100% | 27.2 KiB/s | 179.6 KiB | 00m07s |
| [17/35] kmod-libs-0:33-1.fc41.x86_64 100% | 11.6 KiB/s | 69.9 KiB | 00m06s |
| [18/35] device-mapper-libs-0:1.02.199-4.fc41.x86_64 100% | 80.5 KiB/s | 177.1 KiB | 00m02s |
| [19/35] device-mapper-0:1.02.199-4.fc41.x86_64 100% | 33.7 KiB/s | 136.8 KiB | 00m04s |
| [20/35] qrencode-libs-0:4.1.1-8.fc41.x86_64 100% | 69.4 KiB/s | 61.7 KiB | 00m01s |
| [21/35] cryptsetup-libs-0:2.7.5-1.fc41.x86_64 100% | 49.7 KiB/s | 532.7 KiB | 00m11s |
| [22/35] diffutils-0:3.10-8.fc41.x86_64 100% | 28.4 KiB/s | 405.4 KiB | 00m14s |
| [23/35] systemd-resolved-0:256.12-1.fc41.x86_64 100% | 55.4 KiB/s | 309.4 KiB | 00m06s |
| [24/35] kbd-0:2.6.4-4.fc41.x86_64 100% | 46.8 KiB/s | 414.7 KiB | 00m09s |
| [25/35] kmod-0:33-1.fc41.x86_64 100% | 32.8 KiB/s | 123.0 KiB | 00m04s |
| [26/35] systemd-networkd-0:256.12-1.fc41.x86_64 100% | 36.7 KiB/s | 718.5 KiB | 00m20s |
| [27/35] kbd-legacy-0:2.6.4-4.fc41.noarch 100% | 32.8 KiB/s | 573.6 KiB | 00m18s |
| [28/35] kbd-misc-0:2.6.4-4.fc41.noarch 100% | 52.9 KiB/s | 1.7 MiB | 00m32s |
| [29/35] tpm2-tss-0:4.1.3-3.fc41.x86_64 100% | 23.9 KiB/s | 411.5 KiB | 00m17s |
| [30/35] systemd-udev-0:256.12-1.fc41.x86_64 100% | 36.0 KiB/s | 2.3 MiB | 01m07s |
| [31/35] dnf5-0:5.2.12.0-1.fc41.x86_64 100% | 37.3 KiB/s | 829.2 KiB | 00m22s |
| [32/35] libdnf5-cli-0:5.2.12.0-1.fc41.x86_64 100% | 37.2 KiB/s | 353.2 KiB | 00m10s |
| [33/35] rpm-libs-0:4.20.1-1.fc41.x86_64 100% | 52.6 KiB/s | 312.0 KiB | 00m06s |
| [34/35] libdnf5-0:5.2.12.0-1.fc41.x86_64 100% | 38.9 KiB/s | 1.2 MiB | 00m32s |
| [35/35] rpm-0:4.20.1-1.fc41.x86_64 100% | 72.0 KiB/s | 549.6 KiB | 00m08s |
| ------------------------------------------------------------------------------------------------------------------ |
| [35/35] Total 100% | 111.1 KiB/s | 20.3 MiB | 03m07s |
| Running transaction |
| [ 1/42] Verify package files 100% | 99.0 B/s | 35.0 B | 00m00s |
| [ 2/42] Prepare transaction 100% | 238.0 B/s | 40.0 B | 00m00s |
| [ 3/42] Upgrading rpm-libs-0:4.20.1-1.fc41.x86_64 100% | 51.0 MiB/s | 731.5 KiB | 00m00s |
| [ 4/42] Installing elfutils-libelf-0:0.192-9.fc41.x86_64 100% | 58.5 MiB/s | 1.2 MiB | 00m00s |
| [ 5/42] Upgrading libdnf5-0:5.2.12.0-1.fc41.x86_64 100% | 64.7 MiB/s | 3.6 MiB | 00m00s |
| [ 6/42] Upgrading libdnf5-cli-0:5.2.12.0-1.fc41.x86_64 100% | 41.3 MiB/s | 887.3 KiB | 00m00s |
| [ 7/42] Upgrading dnf5-0:5.2.12.0-1.fc41.x86_64 100% | 20.8 MiB/s | 2.3 MiB | 00m00s |
| [ 8/42] Installing libbpf-2:1.4.7-1.fc41.x86_64 100% | 28.1 MiB/s | 403.4 KiB | 00m00s |
| [ 9/42] Installing kbd-misc-0:2.6.4-4.fc41.noarch 100% | 15.1 MiB/s | 2.6 MiB | 00m00s |
| [10/42] Installing kbd-legacy-0:2.6.4-4.fc41.noarch 100% | 6.8 MiB/s | 616.8 KiB | 00m00s |
| [11/42] Installing kbd-0:2.6.4-4.fc41.x86_64 100% | 14.7 MiB/s | 1.6 MiB | 00m00s |
| [12/42] Installing kmod-0:33-1.fc41.x86_64 100% | 18.0 MiB/s | 240.0 KiB | 00m00s |
| [13/42] Installing kmod-libs-0:33-1.fc41.x86_64 100% | 14.5 MiB/s | 148.3 KiB | 00m00s |
| [14/42] Installing xkeyboard-config-0:2.42-2.fc41.noarch 100% | 38.7 MiB/s | 6.5 MiB | 00m00s |
| [15/42] Installing dbus-common-1:1.14.10-4.fc41.noarch 100% | 82.1 KiB/s | 13.6 KiB | 00m00s |
| [16/42] Installing dbus-broker-0:36-4.fc41.x86_64 100% | 15.0 MiB/s | 385.3 KiB | 00m00s |
| [17/42] Installing dbus-1:1.14.10-4.fc41.x86_64 100% | 40.4 KiB/s | 124.0 B | 00m00s |
| [18/42] Installing libseccomp-0:2.5.5-2.fc41.x86_64 100% | 19.0 MiB/s | 175.2 KiB | 00m00s |
| [19/42] Installing systemd-pam-0:256.12-1.fc41.x86_64 100% | 43.4 MiB/s | 1.1 MiB | 00m00s |
| [20/42] Installing systemd-0:256.12-1.fc41.x86_64 100% | 23.0 MiB/s | 16.5 MiB | 00m01s |
| >>> Running post-install scriptlet: systemd-0:256.12-1.fc41.x86_64 |
| >>> Finished post-install scriptlet: systemd-0:256.12-1.fc41.x86_64 |
| >>> <font color="#A2734C">Scriptlet output: </font> |
| >>> <font color="#A2734C">Creating group 'systemd-journal' with GID 190. </font> |
| >>> <font color="#A2734C">Creating group 'systemd-oom' with GID 999. </font> |
| >>> <font color="#A2734C">Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 999 and GID 999. </font> |
| >>> <font color="#A2734C"> </font> |
| [21/42] Installing device-mapper-libs-0:1.02.199-4.fc41.x86_64 100% | 40.6 MiB/s | 415.8 KiB | 00m00s |
| [22/42] Installing device-mapper-0:1.02.199-4.fc41.x86_64 100% | 31.2 MiB/s | 351.8 KiB | 00m00s |
| [23/42] Installing cryptsetup-libs-0:2.7.5-1.fc41.x86_64 100% | 71.0 MiB/s | 2.3 MiB | 00m00s |
| [24/42] Installing elfutils-default-yama-scope-0:0.192-9.fc41.noarch 100% | 170.2 KiB/s | 2.0 KiB | 00m00s |
| [25/42] Installing elfutils-libs-0:0.192-9.fc41.x86_64 100% | 43.8 MiB/s | 672.1 KiB | 00m00s |
| [26/42] Installing file-libs-0:5.45-7.fc41.x86_64 100% | 112.9 MiB/s | 9.9 MiB | 00m00s |
| [27/42] Installing rpm-build-libs-0:4.20.1-1.fc41.x86_64 100% | 20.7 MiB/s | 211.5 KiB | 00m00s |
| [28/42] Installing dnf5-plugins-0:5.2.12.0-1.fc41.x86_64 100% | 24.9 MiB/s | 1.2 MiB | 00m00s |
| [29/42] Installing elfutils-debuginfod-client-0:0.192-9.fc41.x86_64 100% | 7.7 MiB/s | 86.5 KiB | 00m00s |
| [30/42] Installing systemd-udev-0:256.12-1.fc41.x86_64 100% | 8.3 MiB/s | 12.0 MiB | 00m01s |
| >>> Running post-install scriptlet: systemd-udev-0:256.12-1.fc41.x86_64 |
| >>> Finished post-install scriptlet: systemd-udev-0:256.12-1.fc41.x86_64 |
| >>> <font color="#A2734C">Scriptlet output: </font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/dbus-org.freedesktop.home1.service' → '/usr/lib/systemd/system/systemd-ho</font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/multi-user.target.wants/systemd-homed.service' → '/usr/lib/systemd/system</font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/systemd-homed.service.wants/systemd-homed-activate.service' → '/usr/lib/s</font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/dbus-org.freedesktop.oom1.service' → '/usr/lib/systemd/system/systemd-oom</font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/multi-user.target.wants/systemd-oomd.service' → '/usr/lib/systemd/system/</font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/sysinit.target.wants/systemd-pstore.service' → '/usr/lib/systemd/system/s</font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/multi-user.target.wants/remote-cryptsetup.target' → '/usr/lib/systemd/sys</font> |
| >>> <font color="#A2734C"> </font> |
| [31/42] Installing systemd-networkd-0:256.12-1.fc41.x86_64 100% | 12.8 MiB/s | 2.1 MiB | 00m00s |
| [32/42] Installing systemd-resolved-0:256.12-1.fc41.x86_64 100% | 13.2 MiB/s | 675.1 KiB | 00m00s |
| >>> Running post-install scriptlet: systemd-resolved-0:256.12-1.fc41.x86_64 |
| >>> Finished post-install scriptlet: systemd-resolved-0:256.12-1.fc41.x86_64 |
| >>> <font color="#A2734C">Scriptlet output: </font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/dbus-org.freedesktop.resolve1.service' → '/usr/lib/systemd/system/systemd</font> |
| >>> <font color="#A2734C">Created symlink '/etc/systemd/system/sysinit.target.wants/systemd-resolved.service' → '/usr/lib/systemd/system</font> |
| >>> <font color="#A2734C"> </font> |
| [33/42] Installing libxkbcommon-0:1.7.0-4.fc41.x86_64 100% | 4.1 MiB/s | 338.1 KiB | 00m00s |
| [34/42] Upgrading rpm-0:4.20.1-1.fc41.x86_64 100% | 13.7 MiB/s | 2.5 MiB | 00m00s |
| [35/42] Installing tpm2-tss-0:4.1.3-3.fc41.x86_64 100% | 32.3 MiB/s | 1.6 MiB | 00m00s |
| [36/42] Installing qrencode-libs-0:4.1.1-8.fc41.x86_64 100% | 15.9 MiB/s | 162.7 KiB | 00m00s |
| [37/42] Installing diffutils-0:3.10-8.fc41.x86_64 100% | 28.9 MiB/s | 1.6 MiB | 00m00s |
| [38/42] Removing dnf5-0:5.2.11.0-1.fc41.x86_64 100% | 2.1 KiB/s | 154.0 B | 00m00s |
| [39/42] Removing libdnf5-cli-0:5.2.11.0-1.fc41.x86_64 100% | 102.0 B/s | 23.0 B | 00m00s |
| [40/42] Removing libdnf5-0:5.2.11.0-1.fc41.x86_64 100% | 4.0 KiB/s | 37.0 B | 00m00s |
| [41/42] Removing rpm-0:4.20.0-1.fc41.x86_64 100% | 26.7 KiB/s | 273.0 B | 00m00s |
| [42/42] Removing rpm-libs-0:4.20.0-1.fc41.x86_64 100% | 4.0 B/s | 10.0 B | 00m02s |
| >>> Running trigger-install scriptlet: systemd-0:256.12-1.fc41.x86_64 |
| >>> Finished trigger-install scriptlet: systemd-0:256.12-1.fc41.x86_64 |
| >>> <font color="#A2734C">Scriptlet output: </font> |
| >>> <font color="#A2734C">Creating group 'systemd-coredump' with GID 998. </font> |
| >>> <font color="#A2734C">Creating user 'systemd-coredump' (systemd Core Dumper) with UID 998 and GID 998. </font> |
| >>> <font color="#A2734C">Creating group 'systemd-network' with GID 192. </font> |
| >>> <font color="#A2734C">Creating user 'systemd-network' (systemd Network Management) with UID 192 and GID 192. </font> |
| >>> <font color="#A2734C">Creating group 'systemd-resolve' with GID 193. </font> |
| >>> <font color="#A2734C">Creating user 'systemd-resolve' (systemd Resolver) with UID 193 and GID 193. </font> |
| >>> <font color="#A2734C">Creating group 'systemd-timesync' with GID 997. </font> |
| >>> <font color="#A2734C">Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 997 and GID 997. </font> |
| >>> <font color="#A2734C"> </font> |
| Complete! |
| </pre></html></WRAP> |
| </WRAP> |
===== キャッシュのキープ [keepcache] ===== | ===== キャッシュのキープ [keepcache] ===== |
dnf5 の場合 | dnf5 の場合 |