Recently installed rhel6.5 want to listen to a MP3, but found a lot of source packages, including MPlayer in the online tutorial hard to compile, finally found all is wrong, want to listen to the song is really too difficult, I finally found the linuxcast above the method, because it is video operation, so I will convert it to a written version for your reference.
Thanks Linuxcast I can finally use Linux to listen to MP3!
My environment is rhel6.5-i386, so I take 32 bits as an example, the other version just download the corresponding version number of the installation package.
First, download third-party RPM package:
1. http://rpmfusion.org/
For users
Enable RPM Fusion on your system and verifying RPM Fusion ' s signing keys
Reporting Bugs (Bugzilla)
FAQ
Wishlist
HowTos
information about various Packages RPM Fusion distributes
RPM Fusion based spins
Select Enable RPM Fusion on your system the following RPM Fusion nonfree for RHEL 6 or compatible like CentOS and download;
--------------------------------------------------------------------------------------------------------------- --------------
2. HTTP://FEDORAPROJECT.ORG/WIKI/EPEL/ZH-CN below:
How do I get the EPEL software package?
The EPEL contains a package called ' Epel-release ' that contains the GPG key and source information for the EPEL source. You can install it to your enterprise Linux distribution via Yum. In addition to the epel-release source, there is a source called ' epel-testing ', which contains the latest test package, its version is new but the installation is risky, please do it yourself.
Attention:
650) this.width=650; "alt=" Idea.png "src=" Http://fedoraproject.org/w/uploads/a/a4/Idea.png "height=" "width=" 35 "/ >
Please note that customer Portal
You may need to enable some ' selectable ' sources to install dependent components. here is a tutorial for rhn-classic. Authentication-based subscriptions visit the RHEL Deployment Guide
If you are using version 6th Enterprise Linux, please install this RPM package: from
If you are using version 5th Enterprise Linux, please install this RPM package: epel-release-5-4.noarch.rpm
Select epel-release-5-4.noarch.rpm download;
--------------------------------------------------------------------------------------------------------------- --------------
3, http://pkgs.org/centos-6/atrpms-testing-i386/liblzo2_2-2.03-6.el6.i686.rpm/download/
Download liblzo2_2-2.03-6.el6.i686.rpm below
--------------------------------------------------------------------------------------------------------------- --------------
4, http://www.mplayerhq.hu/design7/dload.html
Binary CODEC packages below Linux x86 20071007 download down (Audio decode pack)
=======================================================
Second, installation
1, first install rpmfusion-free-release-6-1.noarch.rpm and epel-release-6-8.noarch.rpm
#rpm-IVH rpmfusion-free-release-6-1.noarch.rpm epel-release-6-8.noarch.rpm
--------------------------------------------------------------------------------------------------------------- --------------
2, if the error said the lack of LIBZO2, will be liblzo2_2-2.03-6.el6.i686.rpm installed
#rpm-IVH liblzo2_2-2.03-6.el6.i686.rpm
--------------------------------------------------------------------------------------------------------------- --------------
3. #yum List | grep mplayer to view mplayer installation items
mplayer.i686 1.0-0.140.20120205svn.el6.1 @rpmfusion-free-updates
mplayer-common.i686 1.0-0.140.20120205svn.el6.1 @rpmfusion-free-updates
mplayer-gui.i686 1.0-0.140.20120205svn.el6.1 @rpmfusion-free-updates
Mplayer-skins.noarch 1.9-1.NODIST.RF @rpmforge
mplayer-doc.i686 1.0-0.140.20120205svn.el6.1 Rpmfusion-free-updates
Mplayer-fonts.noarch 1.1-3.0.RF Rpmforge
mplayer-tools.i686 1.0-0.140.20120205svn.el6.1 Rpmfusion-free-updates
smplayer.i686 0.6.9-1.EL6.RF Rpmforge
Installation
#yum-y Install MPlayer
MPlayer installation is complete, but you need to decode the package if you want to apply it.
--------------------------------------------------------------------------------------------------------------- --------------
4. Decoding Package
#tar XF essential-20071007.tar.bz2
#mv Essential-20071007.tar.bz2/usr/local/lib/codecs (the installation location is explained in the Readme)
So that mplayer can be used, but in the form of a command line.
#mplayer XXX.RMVB
--------------------------------------------------------------------------------------------------------------- --------------
5. Install graphic interface and skin
#yum-y Install mplayer-gui.i686 Mplayer-skins.noarch
Graphical interface commands: Gmplayer
or in Applications-->sound & Videos-->mplayer Media Player
So you can, if you don't see the graphics, right-click to select Preferences-->video-->x11 X11 (XLMAGE/SHM)
Ok! Finished! Thanks linuxcast!
I beginner Linux, have said wrong or not comprehensive, I hope you criticize correct.
This article from "LINUX" blog, declined reprint!
Red Hat Linux 6.5 rpm Package Installation Mplyer