[liveuser@localhost-live ]$ dnf search firefox
Fedora Modular 29 - x86_64 208 kB/s | 1.5 MB 00:07
Fedora Modular 29 - x86_64 - Updates 21 kB/s | 2.0 MB 01:37
Fedora 29 - x86_64 - Updates 329 kB/s | 21 MB 01:06
Fedora 29 - x86_64 1.1 MB/s | 62 MB 00:57
======================= Summary & Name Matched: firefox ========================
firefox.x86_64 : Mozilla Firefox Web browser
firefox-wayland.x86_64 : Firefox Wayland launcher.
firefox-pkcs11-loader.x86_64 : Helper script for Firefox that sets up the
: browser for authentication with Estonian ID-card
或者,我们可以使用以下命令搜索相同内容。
[liveuser@localhost-live ]$ dnf list firefox
Last metadata expiration check: 0:01:20 ago on Fri 08 Feb 2019 10:15:30 PM EST.
Installed Packages
firefox.x86_64 62.0.3-1.fc29 @anaconda
Available Packages
firefox.x86_64 65.0-2.fc29 updates
pacman代表包管理器实用程序(pacman)。 pacman是一个用于安装,构建,删除和管理Arch Linux软件包的命令行实用程序。 pacman使用libalpm(Arch Linux Package Management(ALPM)库)作为后端来执行所有操作。
在我的情况下,我将搜索chromium包。
# pacman -Ss chromium
extra/chromium 48.0.2564.116-1
The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser
extra/qt5-webengine 5.5.1-9 (qt qt5)
Provides support for web applications using the Chromium browser project
community/chromium-bsu 0.9.15.1-2
A fast paced top scrolling shooter
community/chromium-chromevox latest-1
Causes the Chromium web browser to automatically install and update the ChromeVox screen reader extention. Note: This
package does not contain the extension code.
community/fcitx-mozc 2.17.2313.102-1
Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese
Input)
默认情况下-s的内置ERE(扩展正则表达式)可能会导致许多不需要的结果。 使用以下格式仅匹配包名称。
linuxidc@ubuntu:~/linuxidc.com$ pacman -Ss '^chromium-'
pkgfile是一个用于从Arch Linux官方存储库中的包中搜索文件的工具。
linuxidc@ubuntu:~/linuxidc.com$ pkgfile chromium
如何在openSUSE中搜索包Zypper是suse和openSUSE发行版的命令行包管理器。 它用于安装,更新,搜索和删除包和管理存储库,执行各种查询等。 Zypper命令行界面到ZYpp系统管理库(libzypp)。
linuxidc@ubuntu:~/linuxidc.com$ zypper search ftp
or
# zypper se ftp
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+----------------+-----------------------------------------+--------
| proftpd | Highly configurable GPL-licensed FTP -> | package
| proftpd-devel | Development files for ProFTPD | package
| proftpd-doc | Documentation for ProFTPD | package
| proftpd-lang | Languages for package proftpd | package
| proftpd-ldap | LDAP Module for ProFTPD | package
| proftpd-mysql | MySQL Module for ProFTPD | package
| proftpd-pgsql | PostgreSQL Module for ProFTPD | package
| proftpd-radius | Radius Module for ProFTPD | package
| proftpd-sqlite | SQLite Module for ProFTPD | package
| pure-ftpd | A Lightweight, Fast, and Secure FTP S-> | package
| vsftpd | Very Secure FTP Daemon - Written from-> | package
谁拥有这样一个智能工具,可以搜索给定的包,包括Debian,Ubuntu,Gentoo,Arch,AUR,Mandriva,Fedora,Fink,FreeBSD,NetBSD等所有主要发行版。