After installing fedora, you usually need to reconfigure the yum source. The default source is too slow. Generally, 163 and sohu are faster.
Yum has many sources, so sohu's
Cd/etc/
Back up the source file (optional)
Mv yum. repos. d yum. repos. d. bak
Mkdir yum. repos. d
Cd yum. repos. d
Vim sohu. repo
The content is as follows:
C code
- [Updates]
- Name = Fedora updates
- Baseurl = http://mirrors.sohu.com/fedora/updates/?releasever/?basearch/
- Enabled = 1
- Gpgcheck = 0
-
- [Fedora]
- Name = fedora $ releasever-$ basearch
- Baseurl = http://mirrors.sohu.com/fedora/releases/?releasever/everything/#basearch/ OS/
- Enabled = 1
- Gpgcheck = 0
[Updates] name = Fedora updatesbaseurl = Response $ releasever-$ basearchbaseurl = Response
Yum makecache
If you want to update the source (relatively large, but will prompt whether to confirm the update)
Yum update