Find The Fedora/Red Chapeau Bundle Providing A Command

My previous post explains, given a Debian or Ubuntu system, how to uncovering the packet that provides a dominance or file. This postal service covers the same theme merely for Fedora or whatever modern RPM-based system.

yum provides

Suppose you lot desire to operate the mate-system-log command.

$ mate-system-log -bash: mate-system-log: dominance non industrial plant life

To position the packet that provides mate-system-log:

$ yum provides mate-system-log Loaded plugins: langpacks, refresh-packagekit mate-system-log-1.6.0-3.fc19.i686 : Influenza A virus subtype H5N1 log file viewer for the MATE desktop Repo : fedora mate-system-log-1.6.1-1.fc19.i686 : Influenza A virus subtype H5N1 log file viewer for the MATE desktop Repo : updates

The yum provides dominance searches the yum cache which contains information well-nigh the installed packet base of operations every bit good every bit what is available inwards the configured repositories. It matches the input declaration against meta-data inwards the yum cache every bit a command/feature (mate-system-log), or every bit a file path. The latter enables you lot to uncovering the packet that provides a file:

$ yum provides /etc/wgetrc Loaded plugins: langpacks, refresh-packagekit wget-1.14-5.fc19.i686 : Influenza A virus subtype H5N1 utility for retrieving files using the HTTP or FTP protocols Repo : fedora Matched from: Filename : /etc/wgetrc wget-1.14-10.fc19.i686 : Influenza A virus subtype H5N1 utility for retrieving files using the HTTP or FTP protocols Repo : updates Matched from: Filename : /etc/wgetrc wget-1.14-10.fc19.i686 : Influenza A virus subtype H5N1 utility for retrieving files using the HTTP or FTP protocols Repo : @updates Matched from: Filename : /etc/wgetrc

yum search

Suppose you lot desire to uncovering the packet that provides the Apache Web Server. Unless you lot know the exact packet name, yum provides is non helpful inwards this case.

$ yum provides apache Loaded plugins: langpacks, refresh-packagekit No matches industrial plant life

Instead, purpose yum search. It matches the input keywords against both the packet mention every bit good every bit the packet description.

$ yum search Apache Web Server Loaded plugins: langpacks, refresh-packagekit ===== N/S matched: Apache, Web, Server ===== apache-commons-digester.noarch : XML to Java object mapping module apache-rat.noarch : Apache Release Audit Tool (RAT) httpd.i686 : Apache HTTP Server system-config-httpd.noarch : Apache configuration tool <snipped>

From the to a higher house output, nosotros tin flaming conclude that the packet providing Apache is httpd.

Berlangganan update artikel terbaru via email:

0 Response to "Find The Fedora/Red Chapeau Bundle Providing A Command"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel