Configuration of the Yum source

Source: Internet
Author: User

To install the software using Yum:

Automatic package installation (software management)

YUM

Resolve dependencies, automatically download packages, based on C/s architecture

S

The directory where the root of the disc is directly used (/media/xxx/or/MNT)

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8B/E9/wKioL1hcfJfx--vFAAB4Ah-K2C4422.png-wh_500x0-wm_3 -wmp_4-s_3222708439.png "title=" qq picture 20161223091542.png "alt=" Wkiol1hcfjfx--vfaab4ah-k2c4422.png-wh_50 "/>

Configure the configuration file for the Yum Source:

Cd/etc/yum.repos.d

Centos-media.repo


Centos-base.repo is a configuration file for the Yum network source

Centos-media.repo is a configuration file for Yum Local source

Yum uses:

Installation:

Yum Clear All

Yum List

Yum Install zsh #安装zsh

Yum Install httpd


To install a set of packages:

Yum Grouplist

Yum Groupinstall "Development tools"


Yum query:

# RPM-pqi/mnt/packages/zsh-4.3.10-7.el6.x86_64.rpm View the role of a package

# Yum List z*

# Yum Search zsh


Yum's removal:

# yum Remove zsh

Option:- y #yes

# yum Install-y zsh


http://mirrors.sohu.com/#系统镜像站



source code compilation installation package :

Prerequisite: The system must be installed: development tools, Development library

Steps:

    1. Get the source package

    2. Extract

    3. Configuration, detection of installation environment




This article is from the "11123555" blog, please be sure to keep this source http://11133555.blog.51cto.com/11123555/1885646

Configuration of the Yum source

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.