Penguin
Annotated edit history of Yum version 7, including all changes. View license author blame.
Rev Author # Line
5 AristotlePagaltzis 1 An [Acronym] for __Y__ellowDog __U__pdater, __M__odified.
2
3 [Yum | http://linux.duke.edu/projects/yum/] is an "automatic updater and package installer/remover for [RPM] systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm."
4
5 Pros::
6 Small updates (single file headers, only updated when changed), designed especially for [RPM] systems
7 Cons::
8 Slow updates caused by of lots of small files, useless on [other distributions | Debian]
9
10 It was written for YellowDog Linux for the [PowerPC], but it has taken on a following since being adapted for RedHat and adopted as the official package distribution system for FedoraCore (replacing the RedHat Network.)
11
12 Compare with AptForRpm.
13
6 AristotlePagaltzis 14 All the main FedoraRepositories support [Yum]; RedHat staff and other distributors who want to easily make packages available tend to use it instead of [APT].
15
16 Some users find that it does not work as well as advertised; see f.ex. [Fedora and the repository politics | http://www.oreillynet.com/pub/wlg/7263]. Of course, [YMMV].
7 IanMcDonald 17
18 There is now a nice front end for [Yum] if you use FedoraCore 4 or higher called yumex. To install just type
19 <pre>yum install yumex
20 </pre>
21
22 Also a note if upgrading from FedoraCore 3 to 4 and your yum breaks go back to a default yum.conf file as most repositories do not yet work for FedoraCore 4.
5 AristotlePagaltzis 23
24 !! Overview of [Yum] commands
25
26 ''Taken from the [Fedora Wiki|http://www.fedora.us/wiki/FedoraHOWTO].''
27
28 __List all available packages__::
29 <pre>
30 yum list
31 </pre>
32 __See if there are updated packages available__::
33 <pre>
34 yum check-update
35 # or
36 yum list updates
37 </pre>
38 __Update all installed packages that have a newer version available__::
39 <pre>
40 yum update
41 </pre>
42 __Install specific packages and their dependencies__::
43 <pre>
44 yum install ''package(s)''
45 </pre>
46 __Search all known packages entries (descriptions etc) for ''word''__::
47 <pre>
48 yum search ''word''
49 </pre>
50 __Show basic information about a package__::
51 <pre>
52 yum info ''package''
53 </pre>
54
55 All of the above commands can take shell-style wildcards (*,?) instead of a package name. Check the yum man page for more details.
56
57 ----
58 CategoryFedora