linux:commands:package_management

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:commands:package_management [2025/03/21 04:50] – [キャッシュのキープ] ともやんlinux:commands:package_management [2025/03/29 20:06] (現在) – [パッケージ管理] ともやん
行 8: 行 8:
 <html> <html>
   <style>   <style>
-    .wrap_mintbl_code table .wrap_color_term {+    .dokuwiki div.wrap_mintbl table td { 
 +      vertical-align: top; 
 +      padding: .3em; /* bootstrap fix */ 
 +    } 
 +    .dokuwiki div.wrap_mintbl table div.wrap_color_command {
       margin: 0;       margin: 0;
       padding: .5em;       padding: .5em;
     }     }
-    .wrap_mintbl_code table .wrap_color_command pre {+    .dokuwiki div.wrap_mintbl table div.wrap_color_command pre {
       padding: 0;       padding: 0;
       margin: 0 0 2px 0;       margin: 0 0 2px 0;
行 28: 行 32:
   </script>   </script>
 </html> </html>
-<WRAP mintbl_code>+<WRAP mintbl>
 ^  操作  ^  Fedora  ^  Ubuntu  ^ ^  操作  ^  Fedora  ^  Ubuntu  ^
-| インストール <WRAP color_term><WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> install package_name</pre></html></WRAP></WRAP><WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo apt</b> update +| インストール  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> install package_name</pre></html></WRAP> | <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">apt</font> update 
-<b class=GRN>$</b> <b class=HIY>sudo apt</b> install package_name</pre></html></WRAP></WRAP>+<font color="#FF5F00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">apt</font> install package_name</pre></html></WRAP>
-| アップデート <WRAP color_term><WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> update</pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> update package_name</pre></html></WRAP></WRAP><WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo apt</b> update +| アップデート  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> update</pre></html></WRAP> <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> update package_name</pre></html></WRAP> | <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">apt</font> update 
-<b class=GRN>$</b> <b class=HIY>sudo apt</b> upgrade package_name</pre></html></WRAP></WRAP>+<font color="#FF5F00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">apt</font> upgrade package_name</pre></html></WRAP>
-| アンインストール <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo dnf</b> remove package_name</pre></html></WRAP></WRAP><WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo apt</b> remove package_name</pre></html></WRAP></WRAP>+| アンインストール  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> remove package_name</pre></html></WRAP> | <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">apt</font> remove package_name</pre></html></WRAP>
-| インストール済\\ パッケージの一覧表示 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> list installed</pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> list *package_name*</pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> <b class=HIK>-qa</b></pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> -qa | <b class=HIY>grep</b> package_name</pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dpkg</b> <b class=HIK>-l</b></pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dpkg</b> <b class=HIK>-l</b> | <b class=HIY>grep</b> package_name</pre></html></WRAP></WRAP>\\ | +| インストール済\\ パッケージの一覧表示  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> list installed</pre></html></WRAP> <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> list *package_name*</pre></html></WRAP> <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> <font color="#A347BA">-qa</font></pre></html></WRAP> <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> -qa | <font color="#26A269">grep</font> package_name</pre></html></WRAP> <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269">apt</font> list <font color="#A347BA">--installed</font></pre></html></WRAP> <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269">dpkg</font> <font color="#A347BA">-l</font></pre></html></WRAP> <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269">dpkg</font> <font color="#A347BA">-l</font> | <font color="#26A269">grep</font> package_name</pre></html></WRAP>\\ | 
-| パッケージの検索 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> search package_name</pre></html></WRAP></WRAP><WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>apt-cache</b> search package_name</pre></html></WRAP></WRAP>+| パッケージの検索  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> search package_name</pre></html></WRAP> | <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269">apt-cache</font> search package_name</pre></html></WRAP>
-| パッケージ内\\ ファイル一覧 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> repoquery <b class=HIK>-l</b> package_name</pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> <b class=HIK>-ql</b> package_name</pre></html></WRAP></WRAP>|<WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dpkg</b> <b class=HIK>-L</b> package_name</pre></html></WRAP></WRAP>+| パッケージ内\\ ファイル一覧  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> repoquery <font color="#A347BA">-l</font> package_name</pre></html></WRAP> <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> <font color="#A347BA">-ql</font> package_name</pre></html></WRAP>|<WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269">dpkg</font> <font color="#A347BA">-L</font> package_name</pre></html></WRAP>
-| コマンドが含まれている\\ パッケージを調べる <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> provides command_name</pre></html></WRAP></WRAP><WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo apt</b> install apt-file +| コマンドが含まれている\\ パッケージを調べる  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> provides command_name</pre></html></WRAP> | <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">apt</font> install apt-file 
-<b class=GRN>$</b> <b class=HIY>sudo apt-file</b> update +<font color="#FF5F00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">apt-file</font> update 
-<b class=GRN>$</b> <b class=HIY>sudo apt-file</b> search command_name</pre></html></WRAP></WRAP> +<font color="#FF5F00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">apt-file</font> search command_name</pre></html></WRAP> 
-| パッケージ依存関係の表示 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> deplist package_name</pre></html></WRAP></WRAP> |  -  | +| パッケージ依存関係の表示  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> deplist package_name</pre></html></WRAP> |  -  | 
-| パッケージに依存している\\ パッケージを表示 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> <b class=HIK>-q --whatrequires</b> package_name</pre></html></WRAP></WRAP> |  -  | +| パッケージに依存している\\ パッケージを表示  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> <font color="#A347BA">-q --whatrequires</font> package_name</pre></html></WRAP> |  -  | 
-| 一時的に\\ リポジトリを有効化 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo dnf</b> <b class=HIK>--enablerepo</b>=remi install package_name</pre></html></WRAP></WRAP> |  -  | +| 一時的に\\ リポジトリを有効化  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> <font color="#A347BA">--enablerepo</font>=remi install package_name</pre></html></WRAP> |  -  | 
-| 一時的に\\ リポジトリを無効化 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo dnf</b> <b class=HIK>--disablerepo</b>=remi install package_name</pre></html></WRAP></WRAP> |  -  | +| 一時的に\\ リポジトリを無効化  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> <font color="#A347BA">--disablerepo</font>=remi install package_name</pre></html></WRAP> |  -  | 
-| グループリスト表示 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> grouplist</pre></html></WRAP></WRAP>インストール可能なグループ一覧を英語で取得する<WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>bash</b> <b class=HIK>-c</b> 'LANG=C;dnf grouplist'</pre></html></WRAP></WRAP>\\ <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> grouplist hidden</pre></html></WRAP></WRAP>インストール可能なグループ一覧を英語で取得する<WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>bash</b> <b class=HIK>-c</b> 'LANG=C;dnf grouplist hidden'</pre></html></WRAP></WRAP> |  -  | +| グループリスト表示  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> grouplist</pre></html></WRAP>インストール可能なグループ一覧を英語で取得する<WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">bash</font> <font color="#A347BA">-c</font> 'LANG=C;dnf grouplist'</pre></html></WRAP>\\ <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> grouplist hidden</pre></html></WRAP>インストール可能なグループ一覧を英語で取得する<WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">bash</font> <font color="#A347BA">-c</font> 'LANG=C;dnf grouplist hidden'</pre></html></WRAP> |  -  | 
-| グループ\\ インストール <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo dnf</b> groupinstall "X Window System"</pre></html></WRAP></WRAP> |  -  | +| グループ\\ インストール  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> groupinstall "X Window System"</pre></html></WRAP> |  -  | 
-| GUI パッケージ管理(旧) <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>yumex</b></pre></html></WRAP></WRAP><WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>software-center</b></pre></html></WRAP></WRAP>+| GUI パッケージ管理(旧)  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">yumex</font></pre></html></WRAP> | <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269">software-center</font></pre></html></WRAP>
-| GUI パッケージ管理(新) <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnfdragora</b></pre></html></WRAP></WRAP><WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>software-center</b></pre></html></WRAP></WRAP>+| GUI パッケージ管理(新)  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnfdragora</font></pre></html></WRAP> | <WRAP color_command><html><pre><font color="#FF5F00"><b>$</b></font> <font color="#26A269">software-center</font></pre></html></WRAP>
-| キャッシュクリア <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo dnf</b> clean all</pre></html></WRAP></WRAP> |  |+| キャッシュクリア  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> clean all</pre></html></WRAP> |  |
 </WRAP> </WRAP>
  
 ===== dnf / yum 比較 ===== ===== dnf / yum 比較 =====
-<WRAP mintbl_code>+<WRAP mintbl>
 ^  操作  ^  dnf  ^  yum  ^ ^  操作  ^  dnf  ^  yum  ^
-| ソースのダウンロード <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> download <b class=HIK>--source</b> samba</pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>yumdownloader</b> <b class=HIK>--source</b> samba</pre></html></WRAP></WRAP> +| ソースのダウンロード  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> download <font color="#A347BA">--source</font> samba</pre></html></WRAP>  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">yumdownloader</font> <font color="#A347BA">--source</font> samba</pre></html></WRAP> 
-| リポジトリ同期 <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>dnf</b> <b class=HIY>reposync</b></pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>reposync</b></pre></html></WRAP></WRAP>+| リポジトリ同期  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</fontreposync</pre></html></WRAP>  | <WRAP color_command><html><pre><font color="#0087FF"><b>$</b></font> <font color="#26A269">reposync</font></pre></html></WRAP>
-| ビルドに必要なパッケージの\\ インストール <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo dnf</b> builddep samba.spec</pre></html></WRAP></WRAP> <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo yum-builddep</b> samba.spec</pre></html></WRAP></WRAP>  |+| ビルドに必要なパッケージの\\ インストール  | <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> builddep samba.spec</pre></html></WRAP>  | <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">yum-builddep</font> samba.spec</pre></html></WRAP>  |
 </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">&apos;dnf5-command</font><font color="#2A7BDE"><b>(</b></font><font color="#A2734C">builddep</font><font color="#2A7BDE"><b>)</b></font><font color="#A2734C">&apos;</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
 +&gt;&gt;&gt; Running post-install scriptlet: systemd-0:256.12-1.fc41.x86_64                                                
 +&gt;&gt;&gt; Finished post-install scriptlet: systemd-0:256.12-1.fc41.x86_64                                               
 +&gt;&gt;&gt; <font color="#A2734C">Scriptlet output:                                                                                             </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating group &apos;systemd-journal&apos; with GID 190.                                                                </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating group &apos;systemd-oom&apos; with GID 999.                                                                    </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating user &apos;systemd-oom&apos; (systemd Userspace OOM Killer) with UID 999 and GID 999.                          </font>
 +&gt;&gt;&gt; <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
 +&gt;&gt;&gt; Running post-install scriptlet: systemd-udev-0:256.12-1.fc41.x86_64                                           
 +&gt;&gt;&gt; Finished post-install scriptlet: systemd-udev-0:256.12-1.fc41.x86_64                                          
 +&gt;&gt;&gt; <font color="#A2734C">Scriptlet output:                                                                                             </font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/dbus-org.freedesktop.home1.service&apos; → &apos;/usr/lib/systemd/system/systemd-ho</font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/multi-user.target.wants/systemd-homed.service&apos; → &apos;/usr/lib/systemd/system</font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/systemd-homed.service.wants/systemd-homed-activate.service&apos; → &apos;/usr/lib/s</font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/dbus-org.freedesktop.oom1.service&apos; → &apos;/usr/lib/systemd/system/systemd-oom</font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/multi-user.target.wants/systemd-oomd.service&apos; → &apos;/usr/lib/systemd/system/</font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/sysinit.target.wants/systemd-pstore.service&apos; → &apos;/usr/lib/systemd/system/s</font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/multi-user.target.wants/remote-cryptsetup.target&apos; → &apos;/usr/lib/systemd/sys</font>
 +&gt;&gt;&gt; <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
 +&gt;&gt;&gt; Running post-install scriptlet: systemd-resolved-0:256.12-1.fc41.x86_64                                       
 +&gt;&gt;&gt; Finished post-install scriptlet: systemd-resolved-0:256.12-1.fc41.x86_64                                      
 +&gt;&gt;&gt; <font color="#A2734C">Scriptlet output:                                                                                             </font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/dbus-org.freedesktop.resolve1.service&apos; → &apos;/usr/lib/systemd/system/systemd</font>
 +&gt;&gt;&gt; <font color="#A2734C">Created symlink &apos;/etc/systemd/system/sysinit.target.wants/systemd-resolved.service&apos; → &apos;/usr/lib/systemd/system</font>
 +&gt;&gt;&gt; <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
 +&gt;&gt;&gt; Running trigger-install scriptlet: systemd-0:256.12-1.fc41.x86_64                                             
 +&gt;&gt;&gt; Finished trigger-install scriptlet: systemd-0:256.12-1.fc41.x86_64                                            
 +&gt;&gt;&gt; <font color="#A2734C">Scriptlet output:                                                                                             </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating group &apos;systemd-coredump&apos; with GID 998.                                                               </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating user &apos;systemd-coredump&apos; (systemd Core Dumper) with UID 998 and GID 998.                              </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating group &apos;systemd-network&apos; with GID 192.                                                                </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating user &apos;systemd-network&apos; (systemd Network Management) with UID 192 and GID 192.                        </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating group &apos;systemd-resolve&apos; with GID 193.                                                                </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating user &apos;systemd-resolve&apos; (systemd Resolver) with UID 193 and GID 193.                                  </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating group &apos;systemd-timesync&apos; with GID 997.                                                               </font>
 +&gt;&gt;&gt; <font color="#A2734C">Creating user &apos;systemd-timesync&apos; (systemd Time Synchronization) with UID 997 and GID 997.                     </font>
 +&gt;&gt;&gt; <font color="#A2734C">                                                                                                              </font>
 +Complete!
 +</pre></html></WRAP>
 +</WRAP>
 ===== キャッシュのキープ [keepcache] ===== ===== キャッシュのキープ [keepcache] =====
 +dnf5 の場合
 +<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> config-manager setopt keepcache=true
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">bat</font> <font color="#A347BA">-p</font> <font color="#A347BA">-l</font> ini <u style="text-decoration-style:solid">/etc/dnf/dnf.conf</u>
 +</pre></html></WRAP>
 +<WRAP color_mincode><html><pre><font color="#75715E"># see `man dnf.conf` for defaults and possible options</font>
 +
 +<font color="#F8F8F2">[</font><font color="#A6E22E">main</font><font color="#F8F8F2">]</font>
 +<font color="#F92672">timeout</font><font color="#F8F8F2">=</font><font color="#E6DB74">180</font>
 +<font color="#F92672">keepcache</font><font color="#F8F8F2">=</font><font color="#E6DB74">true</font>
 +</pre></html></WRAP>
 +</WRAP>
 +
 dnf の場合 dnf の場合
 <WRAP color_term> <WRAP color_term>
  • linux/commands/package_management.1742500257.txt.gz
  • 最終更新: 2025/03/21 04:50
  • by ともやん