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