Difference between revisions of "Yum"

From Notes_Wiki
m
m
Line 1: Line 1:
<yambe:breadcrumb>Package_management_tools|Package management tools</yambe:breadcrumb>
<yambe:breadcrumb>Package_management_tools|Package management tools</yambe:breadcrumb>
=yum=
=yum=
'''There are newer articles at [[CentOS 7.x yum]]'''


==yum provides==
==yum provides==

Revision as of 09:40, 22 September 2019

<yambe:breadcrumb>Package_management_tools|Package management tools</yambe:breadcrumb>

yum

There are newer articles at CentOS 7.x yum

yum provides

Sometimes we know the name of the program/command that is required but we do not know which rpm file or package should be installed in order to install the given program/command. In such cases one can use:

yum provides */<binary-name>

to list names of all packages which provide a file with given name. Then based on package description correct package can be installed to obtain the program.


yum environments or groups

To list environments and then groups available with yum use:

yum group list


To install environment such as "Server with GUI", "GNOME Desktop", etc. use:

yum install @^"Environment Name"


To install group such as "Graphical Administration Tools" use:

yum install @"Group Name"


References

References for understanding and learning rpm and yum properly: