yum installation and download software tutorial

A
YUM Baidu definition: Yum (full name Yellow dog Updater, Modified) is a Shell front-end package manager in Fedora, RedHat and CentOS. Based on RPM package management, it can automatically download and install RPM packages from a specified server, can automatically handle dependencies, and install all dependent software packages at once, without having to download and install again and again.
Second
install yum method :

  1. # cd /etc/yum.repos.d/ Enter the configuration file directory
  2. Edit the configuration file, but the suffix must be .repo
 vim rhel7.repo
 编辑内容如下
 [rhel7]
name=rhel7
baseurl=file:///media/cdrom
enabled=1
gpgcheck=0 
  1. After creating the mount point, perform the mount operation and set it to automatically mount at boot
  mkdir -p /media/cdrom
  mount /dev/cdrom /media/cdrom
  vim /etc/fstab

`

  1. Install web service with software library
yum install httpd

Three
different types of files corresponding to the save directory
Insert picture description here
Four download software
Insert picture description here
yum is the package manager
yum.conf This is the yum configuration file
yum.repos.d This yum software repository

yum list mysql #查看本地是否有mysql 包,有的话会列出来
yum search mysql #在仓库中找资源
yum install MySQL-python.x86_64 #选择安装版本
yum remove MySQL-python.x86_64  #移除安装包
Published 9 original articles · liked 0 · visits 253

Guess you like

Origin blog.csdn.net/a_465240/article/details/105257638