両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:commands:package_management [2024/04/19 09:56] – [パッケージ管理 [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>\\ | |
====== パッケージ管理 [pacman] ====== | ====== パッケージ管理 [pacman] ====== |
[[arc>Pacman|pacman - ArchWiki]]\\ | [[arc>Pacman|pacman - ArchWiki]]\\ |
[[arc>Pacman/%E6%AF%94%E8%BC%83%E8%A1%A8|Pacman/比較表 - ArchWiki]]\\ | [[arc>Pacman/比較表|Pacman/比較表 - ArchWiki]]\\ |
| |
<WRAP mintbl_code> | <WRAP mintbl_code> |