commit 1a8f0998fadbc7d85d963c557aa7cd9bd0c06e02
Author: Forlot Romain <rforlot(a)yahoo.com>
Date: Mon Apr 30 21:46:53 2012 +0200
Add 'provides' yum argument usage
en-US/Managing_software.xml | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/en-US/Managing_software.xml b/en-US/Managing_software.xml
index 2f6544d..ee38769 100644
--- a/en-US/Managing_software.xml
+++ b/en-US/Managing_software.xml
@@ -194,18 +194,27 @@
<screen>
su -c 'yum install <replaceable>application</replaceable>'
</screen>
- <para>
+ <para>
Where <replaceable>application</replaceable> is the name of the program you wish to install.
</para>
<para>
If you are unsure of the exact name of your desired installation, you can search your installed repositories for a keyword:
-</para>
+ </para>
<screen>
su -c 'yum search <replaceable>keyword</replaceable>'
</screen>
-<para>
+ <para>
Where <replaceable>keyword</replaceable> is the word you wish to search for among the names and descriptions of programs in the available repositories.
</para>
+ <para>
+ If you search for a packages providing a known file, you can grab the list of packages with the following command :
+ </para>
+<screen>
+ yum provides "<replaceable>*</replaceable>/<replaceable>needed_file</replaceable>
+</screen>
+ <para>
+ Where <replaceable>*</replaceable> is the absolute path to the needed file and <replaceable>needed_file</replaceable> the file that you need to install.
+ </para>
<para>
After using the <command>yum install</command> command, you will be prompted for the computer's root password. Type in the root password and press <keycap>Enter</keycap>. You will not see the password as you type. The terminal will start giving information about the application, and end with <prompt>Is this ok [y/N]:</prompt>. Oftentimes, the installation of an application will require that other programs, called <firstterm>dependencies</firstterm>, are installed as well. These are programs or utilities upon which your selected application relies.
</para>