安装了Fedora core5后,使用yum来管理包很方便,但是找到的源都是外网或者不知道如何设置,没有办法使用。
在同学的努力下,我终于搞定了
,分享一下。
其sourcelist是在/etc/yum.repos.d下面,主要修改下面3个文件。修改前备份一下
1. fedora-core.repo
修改成
[core]
name=Fedora Core $releasever - $basearch
baseurl=ftp://ftp.sjtu.edu.cn/sites/fedora.redhat.com/linux/core/$releasever/$basearch/os/#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
2. fedora-extras.repo
修改成
[core]
name=Fedora Core $releasever - $basearch
baseurl=ftp://ftp.sjtu.edu.cn/sites/fedora.redhat.com/linux/core/$releasever/$basearch/os/#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
3. fedora-updates.repo
修改为
[core]
name=Fedora Core $releasever - $basearch
baseurl=ftp://ftp.sjtu.edu.cn/sites/fedora.redhat.com/linux/core/$releasever/$basearch/os/#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
分享到:
相关推荐
Fedora Core 5 新手指南 本指南由Latvia大学Linux中心和热心帮助的人们维护,文章内容遵守 GNU Free Documentation License 1.2. 本文是Fedora Core 5的上手指南,与Fedora项目和Redhat公司没有联系。
fedora 12 中添加五笔输入法 ...因为fedora 12 现在的输入法使用的是ibus,使用yum 来看一下ibus的包。 [root@localhost ~]# yum list |grep ibus 找到了很多,其中有一个 ibus-table-wubi.noarch 这个就是我们要的了。
fedora-yum的用法 详细介绍,经典
Fedora Core 5入门手册中文版
cd /etc/yum.repos.d/ rm -rf * cp repos.zip /etc/yum.repos.d unzip repos.zip yum clean all yum makecache
yun源本地制作文档,YUM(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,...
NULL 博文链接:https://zengxx1989.iteye.com/blog/670296
Linux Fedora 学习之Yum配置 Linux学习讲义
用快餐式的介绍法,来向即便没有任何Linux背景的您实用地介绍一些使用的操作步骤,主要有读写MSwindows、FC5的办公字处理openoffice、writer、图像处理GIMP、上网浏览、上网聊天、DVD/VCD播放等特性。对于FC5的安装...
fedoracore linux6安装图解
Fedora 15中yum安装卸载LibreOffice中文版.docx
详细介绍Fedora Core 9 的系统安装全过程,并带有清晰图片分布介绍,令学者一目了然。
yum (全称为 Yellow dogUpdater,modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖...
这是我整理的fedora镜像源repo文件,fedora 19可用,其他版本也可用。包括163、上海交大、rpmfusion。 使用方法: a) 下载后解压:tar -zxvf repos.tar.gz b) 将所有.repo文件放到/etc/yum.repos.d/目录 c) 运行yum ...
在VMware上安装Fedora Core 9步骤详解
Fedora Core 6 Linux安装配置详细介绍
红帽子Linux Fedora Core 6安装全程图解.rar 红帽子Linux Fedora Core 6安装全程图解.rar 红帽子Linux Fedora Core 6安装全程图解.rar
1、Yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。 2、基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装...
Fedora Core 8