このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン | |
linux:commands:package_management [2024/04/22 05:39] – [パッケージ管理 [pacman]] ともやん | linux:commands:package_management [2024/04/22 05:53] (現在) – [パッケージ管理] ともやん |
---|
<WRAP mintbl_code> | <WRAP mintbl_code> |
^ 操作 ^ Fedora ^ Ubuntu ^ | ^ 操作 ^ Fedora ^ Ubuntu ^ |
| インストール | <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo dnf</b> 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_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 |
<b class=GRN>$</b> <b class=HIY>sudo apt</b> install package_name</pre></html></WRAP></WRAP> | | <b class=GRN>$</b> <b class=HIY>sudo apt</b> install package_name</pre></html></WRAP></WRAP> | |
| アップデート | <WRAP color_term><WRAP color_command><html><pre><b class=GRN>$</b> <b class=HIY>sudo dnf</b> 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> install package_name</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</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 |
| <b class=GRN>$</b> <b class=HIY>sudo apt</b> upgrade package_name</pre></html></WRAP></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_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_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_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>\\ | |