Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Building YUM Library and using YUM tools

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

YUM,Yellow dog Updater Modified

Software update mechanism based on RPM package construction

Automatically resolve package dependencies

All software packages are provided by a centralized YUM software repository

Basic configuration file for yum:

Basic setting: / etc/yum.conf

Warehouse configuration: / etc/yum.repos.d/*.repo

Log file: / var/log/yum.log

Cache directory: / var/cache/yum/$basearch/$releasever [used to store download packages, warehouse records, etc.]

*. Basic configuration items for repo:

[source name]: custom name, unique

Name: description information of this software source

Baseurl: specify the URL address of the YUM server [local directory file://..., FTP or HTTP service: ftp://..., http://...]

Enabled: whether to enable this configuration

Gpgcheck: whether to verify the RPM package to be installed

Gpgkey: key file for RPM authentication

Basic operation of the software package:

Format: yum [- y] instruction [software name]. # [- y] omit confirmation during installation or deletion

Common instructions:

List: view a list of packages

Search: view key keywords for package name or description

Info: view the description of the package, similar to rpm-qi

Install: installs the specified software package, similar to rpm-I

Update: upgrading specified software packages

Remove: uninstalls the specified package, similar to rpm-e

Provides: similar to rpm-qf

Clean all: clear all caches of the local yum

Basic operation of software group:

Format: yum [- y] instruction [package group name]. # [- y] omit confirmation during installation or deletion

Common instructions:

Grouplist: view a list of software groups

Groupinfo: view the description of the software group

Groupinstall: installs the specified software group

Groupupdate: upgrade software group

Groupremove: uninstall the software group

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report