如何搜索Linux发行版上是否有可用的包(2)

aptitude是Debian GNU/Linux软件包系统的基于文本的界面。 它允许用户查看包列表并执行包管理任务,例如安装,升级和删除包。 可以从可视界面或从命令行执行动作。

linuxidc@ubuntu:~/linuxidc.com$ aptitude search ^vim
p  vim                            - Vi IMproved - enhanced vi editor         
p  vim:i386                        - Vi IMproved - enhanced vi editor         
p  vim-addon-manager              - manager of addons for the Vim editor     
p  vim-addon-mw-utils              - Vim funcref library                     
p  vim-airline                    - Lean & mean status/tabline for vim that's
p  vim-airline-themes              - official theme collection for vim-airline
p  vim-asciidoc                    - Vim syntax highlighting files for asciidoc
p  vim-athena                      - Vi IMproved - enhanced vi editor - with At
p  vim-athena:i386                - Vi IMproved - enhanced vi editor - with At
p  vim-autopep8                    - vim plugin to apply autopep8             
p  vim-bitbake                    - Vim plugin to interact with Yocto bitbake-
p  vim-command-t                  - open files with a minimum number of keystr
p  vim-command-t:i386              - open files with a minimum number of keystr

......

如何搜索Linux发行版上是否有可用的包

如何在RHEL/CentOS中搜索包

Yum(Yellowdog Updater Modified)是Linux操作系统中的软件包管理器实用程序之一。 Yum命令用于在基于RedHat的某些Linux发行版上安装,更新,搜索和删除软件包。

[linuxidc@localhost ~]$ yum search firefox
已加载插件:fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.nju.edu.cn
 * epel: ftp.riken.jp
 * extras: mirrors.cn99.com
 * nux-dextop: li.nux.ro
 * remi-php72: ftp.riken.jp
 * remi-safe: ftp.riken.jp
 * updates: mirrors.nju.edu.cn
 * webtatic: uk.repo.webtatic.com
============================= N/S matched: firefox =============================
firefox.i686 : Mozilla Firefox Web browser
firefox.x86_64 : Mozilla Firefox Web browser
firefox-noscript.noarch : JavaScript white list extension for Mozilla Firefox
firefox-pkcs11-loader.x86_64 : Helper script for Firefox that sets up the
                            : browser for authentication with Estonian ID-card
mozilla-adblockplus.noarch : Adblocking extension for Mozilla Firefox,
                          : Thunderbird, and SeaMonkey

如何搜索Linux发行版上是否有可用的包

或者,我们可以使用以下命令搜索相同内容。

[linuxidc@localhost ~]$ yum list firefox

如何搜索Linux发行版上是否有可用的包

如何在Fedora中搜索包

DNF代表Dandified yum。 我们可以告诉DNF,下一代yum包管理器(Fork of Yum)使用hawkey/libsolv库作为后端。 自从Fedora 18开始以及最终在Fedora 22中实施/推出以来,就开始研究DNF。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/12196.html