Use in Fedora12. Yum is a tool for installing and updating software online. To ensure network connection, you must have an available software source. The source of Netease 163 and sohu in China is good/
Use in Fedora 12.
Yum is a tool for installing and updating software online. To ensure network connection, you must have an available software source. The source of Netease 163 and sohu in China is good. The website of 163 is as follows: http://mirrors.163.com/, click "fedora help" in the right column after entering, There are instructions for use:
Instructions for use
Download fedora-163.repo and fedora-updates-163.repo, put in/etc/yum. repos. d/
Run yum makecache to generate Cache
Run
[Python]
- Yum repolist
You can confirm that 163 of the source has been added.
Sohu source size is the same: http://mirrors.sohu.com/
Common commands:
[Python]
- Yum list
List all software packages on the software source:
[Python]
- Yum info
Query the information of a software package:
[Python]
- Yum update
You can also upgrade the kernel by upgrading the software:
[Python]
- Yum update kernel
[Cpp]
- Yum install
Install the software package, for example:
Run the following command to uninstall the installed software package:
[Python]
- Yum remove
If you only want to download the plug-in, instead of installing it, you need to use the yum-downloadonly plug-in. If this plug-in is not installed, install it with yum:
[Cpp]
- Yun install yum-downloadonly
After installation, you can use the -- downloadonly plug-in to download the software package. You can also use -- downloaddir to specify the path to store the downloaded software package:
[Cpp]
- Yum -- downloadonly -- downloaddir =/home/down/install wget
Sometimes you need to download the source code of the software, you need to use the yumdownloader command, and use the -- source option:
[Cpp]
- Yumdownloader -- source wget
Download the source code package in rpm format.