Fedora Yum Error

Source: Internet
Author: User

Need to use Linux to do projects, so in Win10 installed vmvare and fedora, it is said that this Linux is relatively stable.

1, the system installed, the need to first adjust the terminal, which is in line with the program ape habits, the concrete method is as follows

Http://jingyan.baidu.com/article/cb5d61053598ed005d2fe05c.html

2, install a g++ compiler, yum install gcc-c++ if the error is as follows

[[email protected] ~]# Yum list    loaded plugin: langpacks, Refresh-packagekit    error: Cannot retrieve Metalink for repository: Fedora/20/x86_64. Verify its path and try again

  

This is because the foreign network, or your network settings can not access the international network, or too slow, resulting in this error, this time you need to add a domestic source, in the following ways:

Http://www.cnblogs.com/bo083/archive/2011/06/07/2152792.html

The main thing is to modify /etc/yum.repos.d/

A fedora.repo Modify the corresponding three BaseURL, change to this

baseurl=http://mirrors.sohu.com/fedora/releases/$releasever/everything/$basearch/os/

baseurl=http://mirrors.sohu.com/fedora/releases/$releasever/everything/$basearch/debug/

baseurl=http://mirrors.sohu.com/fedora/releases/$releasever/everything/source/srpms/

b Fedora-update.repo

baseurl=http://mirrors.sohu.com/fedora/updates/$releasever/$basearch/

baseurl=http://mirrors.sohu.com/fedora/linux/updates/$releasever/$basearch/debug/

baseurl=http://mirrors.sohu.com/fedora/linux/updates/$releasever/srpms/

Fedora Yum Error

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.