Advanced ways to use Linux yum commands

Source: Internet
Author: User
Tags tmp folder
Most of the time we use Yum in a networked environment, and if the servers we work with are not networked, and only one server can connect to the extranet, how do we use the Yum command to download the required packages and then copy them to which Web machine? In fact, the method used is very simple, the specific command is as follows:
Yum-y Install vim--downloadonly--downloaddir=/tmp This command means only download Vim does not perform the installation, and then put the software download location in the TMP folder, you can automatically download dependent related packages, Then let's look at other advanced uses.

--Deplist VIM will list the dependent packages of vim

--enablerepo=xxxx enable a certain Yum repository

--disablerepo=xxxxx Disabling a yum repository

--groupremove XXX Delete a group of software

--groupadd xxxx Install a group of software

--groupupdate xxxxx Upgrade a group of packages

Advanced ways to use Linux yum commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.