We are still actively working on the spam issue.

Difference between revisions of "Yum"

From InstallGentoo Wiki
Jump to: navigation, search
m (forgot a ])
(Redirected page to DNF)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Yum'' is a package manager used to manage RPM packages. It's used in pretty much all Linux distros based around the [[RPM]] package format, and is especially notable for being used in Red Hat distributions as well as in [[Fedora]].
+
#REDIRECT [[DNF]]
 
 
== Name ==
 
 
 
''Yum'' means ''Yellowdog updater, modified''. There used to be a ''yup'' tool, which stood for ''yellowdog updater''. Yum is a complete rewrite of yup.
 
 
 
== Usage ==
 
 
 
Like most package managers, yum is quite simple to use. It requires root privileges in order to install and remove packages.
 
 
 
=== Installing packages ===
 
 
 
To install a package, issue:
 
 
 
<pre># yum install <package></pre>
 
 
 
=== Uninstalling packages ===
 
 
 
To remove a package from the system, issue:
 
 
 
<pre># yum remove <package></pre>
 
 
 
=== Updates ===
 
 
 
Yum supports updating individual packages or the entire system at once.
 
 
 
==== Full system update ====
 
 
 
To update all the packages on the system, issue:
 
 
 
<pre># yum update</pre>
 
 
 
Sometimes, yum will fail to resolve dependencies for various reasons. You can use the <code>--skip-broken</code> option to skip packages whose dependencies could not be resolved:
 
 
 
<pre># yum update --skip-broken</pre>
 
 
 
==== Individual package update ====
 
 
 
To update an individual package, simply pass its name as the argument:
 
 
 
<pre># yum update <package></pre>
 
 
 
=== Searching for packages ===
 
 
 
You can search the remote repository for a package:
 
 
 
<pre># yum search <string></pre>
 
 
 
 
 
[[Category:GNU/Linux]]
 
[[Category:Package manager]]
 

Latest revision as of 17:58, 19 November 2015

Redirect to: