centos使用rpmforge-release

时间:2017-10-09 09:48:29      阅读:536      评论:0      收藏:0      [点我收藏+]

标签:rpmforge

rpmforge又名repoforge,是CentOS官方推荐的第三方yum源。提供超过5000种rpm格式的软件包,其中包括vlc、mplayer、xmms-mp3等流行的多媒体工具。

C7:

wget http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

C6:

i386
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.i686.rpm x86_64
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

C5:

i386
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
rpm -ivh rpmforge-release-0.5.3-1.el5.rf.i386.rpm x86_64
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm ppc
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/ppc/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.ppc.rpm
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.ppc.rpm

上面这些rpm包的地址都可以到https://pkgs.org网站中直接搜索相应的rpm包即可,如:直接搜索rpmforge或者epel,找到合适的rpm包后下载即可

验证安装:

[root@localhost ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * rpmforge: ftp.kddilabs.jp
 * updates: mirrors.aliyun.com
repo id                             repo name                                                           status
base                                CentOS-6 - Base - mirrors.aliyun.com                                6,706
extras                              CentOS-6 - Extras - mirrors.aliyun.com                                 46
rpmforge                            RHEL 6 - RPMforge.net - dag                                         4,718
updates                             CentOS-6 - Updates - mirrors.aliyun.com                               721
repolist: 12,191

使用RPMforge(Repoforge)源查找mplayer

[root@localhost ~]# yum --enablerepo=rpmforge info mplayer
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * rpmforge: mirrors.tuna.tsinghua.edu.cn
 * updates: mirrors.aliyun.com
Available Packages
Name        : mplayer
Arch        : x86_64
Version     : 1.0
Release     : 0.48.svn20100703.el6.rf
Size        : 4.0 M
Repo        : rpmforge
Summary     : MPlayer, the Movie Player for Linux
URL         : http://mplayerhq.hu/
License     : GPL
Description : MPlayer is a multimedia player. It plays most video formats as well as DVDs.
            : Its big feature is the wide range of supported output drivers. There are also
            : nice antialiased shaded subtitles and OSD.
            :
            : On x86, additional Win32 binary codecs should be added to /usr/lib64/codecs/.
            :
            : Available rpmbuild rebuild options :
            : --with : dvdread
            : --without : aalib lirc cdparanoia arts xvid esd lzo fame caca dvb vstream
            :             theora osdmenu gcccheck fribidi xvmc x264 faac mpc live ladspa
            :             amrnb samba speex twolame

安装mplayer:

[root@localhost ~]# yum install mplayer

禁用RPMforge(Repoforge)源:

[root@localhost ~]# vi /etc/yum.repos.d/rpmforge.repo
将enabled=1选项改为enabled=0。

参考:

http://repoforge.org/use/

https://pkgs.org/

http://quenywell.com/how-to-set-up-rpmforge-repoforge-repository-on-rhel-centos/

本文出自 “甘木” 博客,请务必保留此出处http://ganmu.blog.51cto.com/9305511/1970783

centos使用rpmforge-release

标签:rpmforge

原文地址:http://ganmu.blog.51cto.com/9305511/1970783

RPMforge(Repoforge)源的更多相关文章

  1. CentOS6.5系统挂载NTFS分区的移动硬盘 centos安装repoforge源(yum)

    CentOS6.5系统挂载NTFS分区的移动硬盘 作为IT的工作者,避免不了使用Linux系统,我现在使用的系统是CentOS6.5 X86_64位版本,但是插入NTFS移动硬盘没有办法识别.通过下面 ...

  2. CentOS添加RPMforge软件源

    1.查看CentOS版本 cat /etc/redhat-release 2.查看系统位数 uname -i 3.下载rpm包 wget "rpm地址" CentOS 6: i68 ...

  3. CentOS 7添加yum源

    RedHat下主要有两个distribution,一曰 RHEL(Red Hat Enterprise Linux) 一曰 Fedora.前者主要是供服务器使用,优点是稳定,缺点是老的掉牙,后者是供桌 ...

  4. 【转发】RedHat Enterprise Linux 6.4 使用 Centos 6 的yum源问题

    作为一名新手,学习Linux已经一个月了,其间遇到了不少问题,而今天笔者遇到的问题是 #yum install pam-devel #This system is not registered to ...

  5. redhat 6 配置 yum 源的两种方法

      由于 redhat的yum在线更新是收费的,如果没有注册的话不能使用,如果要使用,需将redhat的yum卸载后,重启安装,再配置其他源. 本文包括配置本地源及第三方源.第三方源包括:网易,epe ...

  6. CentOS 6.6 yum源完全配置

    原文地址 http://blog.csdn.net/halazi100/article/details/41311837 一 yum 简介 yum,是"Yellow dog Updater, ...

  7. centos 7安装源

    参照 http://www.linuxidc.com/Linux/2015-03/114690.htm http://www.cnblogs.com/mchina/archive/2013/01/04 ...

  8. 【Linux】CentOS7 添加常用源

    CentOS 的官方源去掉了一些与版权有关的软件,因此想要安装这些软件或者手动下载安装,或者使用其他源. 下面是添加EPEL源和RPMforge源的步骤. 1.首先, 添加源之前要确定系统架构及版本 ...

  9. CentOS 源设置

    安装完CentOS后,系统默认的源可能有限满,这时我们需要添加国内比较好的源. 一.国内比较好的源https://opsx.alibaba.com/mirror                  #阿 ...

随机推荐

  1. 如何在debug模式下,使用正式的签名文件

    有两种方式(在集成第三方库的使用 使用的非常多)  签名配置信息 一是直接按F4,在项目结构面板中进行设置,只要操作两个两个选项卡就好了,signing(生成配置信息)和build types(打包类 ...

  2. struts-2-spring-2-jpa-ajax

    http://struts.apache.org/docs/struts-2-spring-2-jpa-ajax.html

  3. netstat 用法

    https://linux.cn/article-2434-1.html Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),ma ...

  4. 开源的库RestSharp轻松消费Restful Service

    现在互联网上的服务接口都是Restful的,SOAP的Service已经不是主流..NET/Mono下如何消费Restful Service呢,再也没有了方便的Visual Studio的方便生产代理 ...

  5. 请用心练完这16个webpack小例子

    16个demo,webpack+react搭配使用首先教大家2个新技能 1.按照正常github地址情况下,你的github本身不能访问目录. 例如要访问vue-demo下的vueCpu文件夹:htt ...

  6. 微信 JS SDK 的 chooseImage 接口在部分安卓机上容易造成页面刷新

    该问题的症状是,当调用 chooseImage 接口并选择拍照,选择照片确定之后,然后从相机返回后,当前web页面就刷新了一次,导致拍照的图片无法选择上传:但是如果直接从相册中选择图片,则不会出现这个 ...

  7. java源码阅读System

    1类签名与注释 public final class System System类包含一些有用的类属性和方法.该类不能被实例化,所以其所有属性与方法都是static的. 2标准输入输出流 public ...

  8. LVS负载均衡之DR模式部署

      1.LVS的DR模式介绍 参考自官网:http://www.linuxvirtualserver.org/zh/lvs3.html     VS/DR利用大多数Internet服务的非对称特点,负 ...

  9. [Node.js] Show More Lines in a Node.js Error Stack Trace

    Sometimes you are one or two lines short from finding the cause of the error in the stack trace but ...

  10. [Javascript] Write a Generator Function to Generate the Alphabet / Numbers

    When you need to generate a data set, a generator function is often the correct solution. A generato ...