$ apt-cache search nano | grep ^nano nano - small, friendly text editor inspired by Pico nano-tiny - small, friendly text editor inspired by Pico - tiny build nanoblogger - Small weblog engine for the command line nanoblogger-extra - Nanoblogger plugins nanoc - static site generator written in Ruby nanoc-doc - static site generator written in Ruby - documentation nanomsg-utils - nanomsg utilities nanopolish - consensus caller for nanopore sequencing data
$ aptitude search ^vlc p vlc - multimedia player and streamer p vlc:i386 - multimedia player and streamer p vlc-bin - binaries from VLC p vlc-bin:i386 - binaries from VLC p vlc-data - Common data for VLC v vlc-data:i386 - p vlc-l10n - Translations for VLC v vlc-l10n:i386 - p vlc-plugin-access-extra - multimedia player and streamer (extra access plugins) p vlc-plugin-access-extra:i386 - multimedia player and streamer (extra access plugins) p vlc-plugin-base - multimedia player and streamer (base plugins) p vlc-plugin-base:i386 - multimedia player and streamer (base plugins) p vlc-plugin-fluidsynth - FluidSynth plugin for VLC p vlc-plugin-fluidsynth:i386 - FluidSynth plugin for VLC p vlc-plugin-jack - Jack audio plugins for VLC p vlc-plugin-jack:i386 - Jack audio plugins for VLC p vlc-plugin-notify - LibNotify plugin for VLC p vlc-plugin-notify:i386 - LibNotify plugin for VLC p vlc-plugin-qt - multimedia player and streamer (Qt plugin) p vlc-plugin-qt:i386 - multimedia player and streamer (Qt plugin) p vlc-plugin-samba - Samba plugin for VLC p vlc-plugin-samba:i386 - Samba plugin for VLC p vlc-plugin-sdl - SDL video and audio output plugin for VLC p vlc-plugin-sdl:i386 - SDL video and audio output plugin for VLC p vlc-plugin-skins2 - multimedia player and streamer (Skins2 plugin) p vlc-plugin-skins2:i386 - multimedia player and streamer (Skins2 plugin) p vlc-plugin-svg - SVG plugin for VLC p vlc-plugin-svg:i386 - SVG plugin for VLC p vlc-plugin-video-output - multimedia player and streamer (video output plugins) p vlc-plugin-video-output:i386 - multimedia player and streamer (video output plugins) p vlc-plugin-video-splitter - multimedia player and streamer (video splitter plugins) p vlc-plugin-video-splitter:i386 - multimedia player and streamer (video splitter plugins) p vlc-plugin-visualization - multimedia player and streamer (visualization plugins) p vlc-plugin-visualization:i386 - multimedia player and streamer (visualization plugins) p vlc-plugin-vlsub - VLC extension to download subtitles from opensubtitles.org p vlc-plugin-zvbi - VBI teletext plugin for VLC p vlc-plugin-zvbi:i386
如何在 RHEL/CentOS 中搜索一个包
Yum(Yellowdog Updater Modified)是 Linux 操作系统中的包管理器实用程序之一。Yum 命令用于在一些基于 RedHat 的 Linux 发行版上,它用来安装、更新、搜索和删除软件包。
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# yum search ftpd Loaded plugins:fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base:centos.hyve.com * epel:mirrors.coreix.net * extras:centos.hyve.com * rpmforge:www.mirrorservice.org * updates:mirror.sov.uk.goscomb.net ============================================================== N/S Matched:ftpd =============================================================== nordugrid-arc-gridftpd.x86_64 :ARC gridftp server pure-ftpd.x86_64 :Lightweight, fast and secure FTP server vsftpd.x86_64 :Very Secure Ftp Daemon
Name and summary matches only, use "search all" for everything.
# dnf search ftpd Last metadata expiration check performed 0:42:28 ago on Tue Jun 922:52:442018. ============================== N/S Matched: ftpd =============================== proftpd-utils.x86_64 : ProFTPD - Additional utilities pure-ftpd-selinux.x86_64 : SELinux support for Pure-FTPD proftpd-devel.i686 : ProFTPD - Tools andheader files for developers proftpd-devel.x86_64 : ProFTPD - Tools andheader files for developers proftpd-ldap.x86_64 : Module toadd LDAP support to the ProFTPD FTP server proftpd-mysql.x86_64 : Module toadd MySQL support to the ProFTPD FTP server proftpd-postgresql.x86_64 : Module toadd PostgreSQL support to the ProFTPD FTP : server vsftpd.x86_64 : Very Secure Ftp Daemon proftpd.x86_64 : Flexible, stableand highly-configurable FTP server owfs-ftpd.x86_64 : FTP daemon providing accessto1-Wire networks perl-ftpd.noarch : Secure, extensible and configurable Perl FTP server pure-ftpd.x86_64 : Lightweight, fast and secure FTP server pyftpdlib.noarch : Python FTP server library nordugrid-arc-gridftpd.x86_64 : ARC gridftp server
或者,我们可以使用以下命令搜索相同的内容。
1 2 3 4 5
# dnf list proftpd Failed to synchronize cache for repo 'heikoada-terminix', disabling. Last metadata expiration check: 0:08:02 ago on Tue 26 Jun 201804:30:05 PM IST. Available Packages proftpd.x86_64
如何在 Arch Linux 中搜索一个包
pacman 代表包管理实用程序(pacman)。它是一个用于安装、构建、删除和管理 Arch Linux 软件包的命令行实用程序。pacman 使用 libalpm(Arch Linux Package Management(ALPM)库)作为底层来执行所有操作。
在本例中,我将要搜索 chromium 包。
1 2 3 4 5 6 7 8 9 10 11 12 13
# 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)