Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the yum-groups-manager command of linux to create and edit group metadata for yum

Shulou Source: shulou.com Published: 2022-06-02 18:07:11 09月30日 Update

Editor to share with you the use of linux yum-groups-manager command to create and edit yum group metadata, I hope you will learn a lot after reading this article, let's discuss it together!

Yum groups manager is used to create or edit group metadata files for yum repositories; this is usually much easier to manually edit XML than in written form.

Syntax format: yum-groups-manager [parameters]

Common parameters:

Reference example

Create a group metadata file with the name beginning with yum:

[root@linuxcool] # yum-groups-manager-- name YUM-- save groups.xml'yum*'

Add a description and translated name to the yum group:

[root@linuxcool] # yum-groups-manager-n YUM-- merge groups.xml-- description 'This is a group with most of the yum packages in it'-- translated-name' en:yum packages'

Load groups.xml data, use the yum group, make the group invisible, and remove the yum skip broken and yum priorities packages from it:

[root@linuxcool] # yum-groups-manager-n YUM-- merge groups.xml-- remove yum-skip-broken yum-priorities-- not-user-visible has finished reading this article. I believe you have some understanding of creating and editing yum group metadata using linux's yum-groups-manager command. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

Tags: Data commands parameters names files articles written in finished examples commonly used beginning form manual more format knowledge industry grammar information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Information OPPO Reno macOS Docker