Install mplayer and mplayer in centos and embed them into Firefox.

Source: Internet
Author: User
Tags gpg
Use Yum to install the mplayer in centos5. You have modified the information you have seen on the Internet. For your use.
It is troublesome to compile and install mplayer. In fact, centos can also use Yum to install mplayer. (RHEL is also available)
Take a look at centos 5:
Centos 5
First, make sure you have installed protectbase.
Protectbase
Yum-protectbase is provided in the centos 5 Package warehouse:
# Yum install Yum-protectbase
In centos 5, this plug-in is started by default.
Edit/etc/yum. Repos. d/CentOS-Base.repo and add a line at the end of the [base], [update], [centosplus] section:
Protect = 1
Invalidate the [centosplus] segment as follows:
Enabled = 0
Edit/etc/yum. Repos. d/CentOS-Base.repo and add the following line at the end of the other section:
Protect = 0
Download the rpmforge-release package. select one of the following two packages, depending on your machine. If you cannot determine which one to use, use the following command to determine:
(You can find a full list of rpmforge-release packages in the http://dag.wieers.com/packages/rpmforge-release/, but we recommend that you use one of the two listed above ).
Install Dag's GPG key
# Rpm -- import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Verify the downloaded package
# Rpm-K rpmforge-release-0.3.6-1.el5.rf. *. rpm
Security Warning: The rpmforge-release package injects GPG keys into your RPM database. As long as you verify the package and believe in Dag, it should be safe.
Installation Package
# Rpm-IVH rpmforge-release-0.3.6-1.el5.rf. *. rpm
This step will add the yum repository configuration file and inject the appropriate GPG keys.
Run the following command to test the function:
# Yum check-Update
There should be two rows of output:
Loading "protectbase" plugin
117 packages excluded due to repository Protections
The numbers above may be different, but several packages should be excluded from display.

# Yum install mplayer
The following describes how to insert mplayer to firfox:
# Yum install mplayerplug-in
OK! You can listen to songs online.

Related Article

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.