(Wikified this article somewhat. Also added a package infobox, and put this article into "Packages") |
|||
Line 1: | Line 1: | ||
= yum = | {{Infobox package | ||
| name = Yum Package Manager | |||
| package_name = yum | |||
| package_maintainer = [[User:Skvidal|Seth Vidal]] | |||
<code>yum</code> is a software package manager | | url = http://yum.baseurl.org/ | ||
| bug_tracker = http://yum.baseurl.org/report | |||
| mailing_list = http://lists.baseurl.org/mailman/listinfo/yum | |||
| irc = [irc://irc.freenode.net/#yum #yum] on [http://www.freenode.net irc.freenode.net] | |||
}} | |||
'''<code>yum</code>''' is a software package manager that installs, updates, and removes [[package]]s on [[RPM]]-based systems. It automatically computes dependencies and figures out what things should occur to install packages. yum makes it easier to maintain groups of machines without having to manually update each one using [[rpm]]. | |||
Features include: | Features include: | ||
Line 13: | Line 22: | ||
* Simple interface | * Simple interface | ||
yum uses an online repository by default, but you can also configure it to use a local repository of packages. | yum uses an online repository by default, but you can also configure it to use a local repository of packages. | ||
== Is there a GUI for yum like synaptic? == | == Is there a GUI for yum like synaptic? == | ||
[[Fedora]] uses PackageKit gui frontends as graphical package managers and update tools. You can also use Yum Extender [[Tools/yumex|(yumex)]]. It can be installed if required with the following command: | |||
Fedora uses PackageKit gui frontends | |||
<pre> | <pre> | ||
yum install yumex | yum install yumex | ||
</pre> | </pre> | ||
== How is the speed of yum compared to APT-RPM? == | == How is the speed of yum compared to APT-RPM? == | ||
yum automatically checks the repository every time you perform a command, except when run in shell mode, while APT only checks it when you run '<code>apt-get update</code>' manually. This causes it to appear slower than it is. If you want yum to run from cache instead of checking the repositories, run '<code>yum -C <command></code>'. See the man page for details. | yum automatically checks the repository every time you perform a command, except when run in shell mode, while APT only checks it when you run '<code>apt-get update</code>' manually. This causes it to appear slower than it is. If you want yum to run from cache instead of checking the repositories, run '<code>yum -C <command></code>'. See the man page for details. | ||
Line 38: | Line 37: | ||
== What about other advanced features like those in APT that aren't available in yum? == | == What about other advanced features like those in APT that aren't available in yum? == | ||
The yum-utils package has various additional utilities that might provide you with the additional features you want. Seth Vidal has [http://skvidal.wordpress.com/2005/06/04/yum-utils/ a blog post] explaining the various tools available in it. | |||
The yum-utils package | |||
<pre> | <pre> | ||
Line 48: | Line 46: | ||
Additional tools are in the works. | Additional tools are in the works. | ||
{{Admon/tip | NOTE | Information about APT is available from the [[Tools/Apt| Apt]] page.}} | {{Admon/tip | NOTE | Information about APT is available from the [[Tools/Apt| Apt]] page.}} | ||
== Tips and Tricks == | == Tips and Tricks == | ||
Yum halts if there is any dependency problem within the repository to be safe and doesnt perform partial updates. Use the Yum skip-broken plugin if you would like that. Refer to [[Docs/Drafts/SoftwareManagementGuide/CustomizingYum]] for more details. | |||
Kindly ensure that you report any dependency issues to the appropriate repository bug tracker or post to the relevant project list if it requires more discussions. | |||
[[Category:Packages]] |
Revision as of 09:51, 27 June 2010
Yum Package Manager | |
RPM package | yum
|
Maintainer | Seth Vidal |
Upstream bugs | http://yum.baseurl.org/report |
Mailing list | http://lists.baseurl.org/mailman/listinfo/yum |
IRC | #yum on irc.freenode.net |
Bugs • Bodhi • Koji |
yum
is a software package manager that installs, updates, and removes packages on RPM-based systems. It automatically computes dependencies and figures out what things should occur to install packages. yum makes it easier to maintain groups of machines without having to manually update each one using rpm.
Features include:
- Support for multiple repositories
- Simple configuration
- Dependency calculation
- Fast operation
- RPM-consistent behavior
- Package group support, including multiple-repository groups
- Simple interface
yum uses an online repository by default, but you can also configure it to use a local repository of packages.
Is there a GUI for yum like synaptic?
Fedora uses PackageKit gui frontends as graphical package managers and update tools. You can also use Yum Extender (yumex). It can be installed if required with the following command:
yum install yumex
How is the speed of yum compared to APT-RPM?
yum automatically checks the repository every time you perform a command, except when run in shell mode, while APT only checks it when you run 'apt-get update
' manually. This causes it to appear slower than it is. If you want yum to run from cache instead of checking the repositories, run 'yum -C <command>
'. See the man page for details.
yum now uses sqlite for its back-end database by default. This results in an edge in speed over older versions of yum. Beginning with Fedora Core 4, yum contains significant improvements that make it faster and more capable than older versions.
What about other advanced features like those in APT that aren't available in yum?
The yum-utils package has various additional utilities that might provide you with the additional features you want. Seth Vidal has a blog post explaining the various tools available in it.
yum install yum-utils
You will need to have root privileges to use these commands.
Additional tools are in the works.
Tips and Tricks
Yum halts if there is any dependency problem within the repository to be safe and doesnt perform partial updates. Use the Yum skip-broken plugin if you would like that. Refer to Docs/Drafts/SoftwareManagementGuide/CustomizingYum for more details.
Kindly ensure that you report any dependency issues to the appropriate repository bug tracker or post to the relevant project list if it requires more discussions.