Chinaunix首页 | 论坛 | 博客
  • 博客访问: 159313
  • 博文数量: 26
  • 博客积分: 1550
  • 博客等级: 上尉
  • 技术积分: 380
  • 用 户 组: 普通用户
  • 注册时间: 2008-01-29 03:53
文章分类
文章存档

2012年(1)

2011年(7)

2009年(1)

2008年(17)

我的朋友

分类: LINUX

2011-09-30 14:45:01



1、卸载自身yum
# rpm -aq|grep yum|xargs rpm -e --nodeps


2、centos6相关


wget
wget
wget
wget

3、安装

rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm
rpm -ivh yum*

4、复制centos6中的repo到RHEL6
在上下载repo文件
编辑:
:%s/$releasever/6.0/

5、使用
# yum clean all
# yum list


这是我修改好的,加了apt.sw.be的源,

yum install compat-libstdc++-33 libdvdcss libdvdread libdvdplay libdvdnav lsdvd libquicktime
yum install flash-plugin mplayerplug-in mplayer mplayer-gui gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-ugly
后,系统自带的totem和Rhythmbox 0.12.8已经可以用了。


# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-6 - Base - 163.com
baseurl=
#mirrorlist=
gpgcheck=1
gpgkey=

#released updates
[updates]
name=CentOS-6 - Updates - 163.com
baseurl=
#mirrorlist=
gpgcheck=1
gpgkey=

#additional packages that may be useful
[extras]
name=CentOS-6 - Extras - 163.com
baseurl=
#mirrorlist=
gpgcheck=1
gpgkey=

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-6 - Plus - 163.com
baseurl=
#mirrorlist=
gpgcheck=1
enabled=0
gpgkey=

#contrib - packages by Centos Users
[contrib]
name=CentOS-6 - Contrib - 163.com
baseurl=
#mirrorlist=
gpgcheck=1
enabled=0
gpgkey=


[dag]

name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=
gpgcheck=1
gpgkey=
enabled=1
阅读(696) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~