Yum install mplayer in Fedora

More...

After upgrade to the Fedora Core 10 and Fedora Core 12, I was surprised when yum install mplayer didn't find any package. I'm sure yum worked in Fedora Core 9 with installed Livna repository. I checked my Livna configuration once again, but there was no luck with mplayer. Something has definitely changed in the meantime. Yes, in 2008 Livna merged with two other package repositories into RPM Fusion. All packages have been moved there except one that RPM Fusion for various reasons didn't want to take. Hence Livna will remain running for the foreseeable future to ship just that package.

Before you continue reading, if you are interested in installation mplayer-gui for Fedora Core 12 / Fedora Core 13, please go to the How to install mplayer in Fedora Core 12 / Fedora Core 13 (a newer post on this site).

Today there are two main RPM repositories for the RedHat Linux family:

You will have to add RPM Fusion and Livna repositories if you want to install mplayer with tools like yum and PackageKit. Livna repository can be added with the following commands:

# install Livna repository with the yum command
yum install livna
# or add Livna directly with the rpm command (use --httpproxy for proxy settings)
rpm -ivh http://rpm.livna.org/livna-release.rpm

I couldn't find proxy switch for yum command, but proxy settings can be written to the /etc/yum.conf file. If you sit behind proxy, please add few lines to the yum.conf

# add proxy settings for yum
proxy=http://your.proxy.name:1234
proxy_username=your_domain\your_username
proxy_password=your_password

Fedora Core 9 with Livna repository were enough to install mplayer or vlc, because Livna contained them. Recently Livna merged with RPM Fusion and almost all rpm packages moved from Livna to the RPM Fusion. To install mplayer in Fedora Core 10, you will have to add RPM Fusion repository too. You can find detailed instruction for RPM Fusion installation on http://rpmfusion.org/Configuration and there you will find the following commands:

# add RPM Fusion repository with the rpm command
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

If you have proxy problems, try with --httpproxy. If you still have problems, you can manually download free and nonfree repositories to the local directory, and then start rpm like:

rpm -Uvh rpmfusion-free-release-stable.noarch.rpm rpmfusion-nonfree-release-stable.noarch.rpm

Now Fedora Core 10 should be able to install rpm packages from the RPM Fusion repository and Livna repository. Don't forget to add proxy settings to the /etc/yum.conf if needed.

# install RPM packages
yum install mplayer-gui
yum install xine
yum install vlc

Simple, isn't it?
;)

This entry was posted on January 16, 2009 and is filed under Linux

Related posts

21 Responses to Yum install mplayer in Fedora

  1. CrazyTrain says:

    Thank you so much with your help. It got me going right away.

  2. umer says:

    [root@Umer Documents]# yum install mplayer-gui
    Loaded plugins: refresh-packagekit
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-nonfree-updates. Please verify its path and try again

  3. dbunic says:

    This message means that yum cannot connect to the RPM Fusion servers. Please see details at: Error: Cannot retrieve repository metadata (repomd.xml) for repository ... Hope this will help.

  4. pocotaco says:

    Thanks, looked everywhere, and this was right on the money.

  5. Ananda says:

    Amazing, It did work without any errors in Fedora 10. Many Thanks.

  6. jhc says:

    export "HTTP_PROXY=http://ip-address-of-proxy:proxy-port/"

    then yum will work with proxy.

  7. radheshyam kr. gupta says:

    thanks for your support.
    It really worth helping those who are newly started using linux.

  8. sabarinath says:

    thanks a million! It works straight away.

    However, i did not face this problem(livia repository excluded) in fedora 10.(a fresh install)

  9. suv-nyx says:

    thanks for it ...

  10. Pavan Kumar India says:

    thank you very much
    now i can see movies on linux ..............................

  11. Pingback: Convert WMA to MP3 in Ubuntu - Linux * Screw

  12. raja says:

    thanks for the info. it works great

  13. Pingback: Convert WMA to MP3 in Ubuntu | Născut Obosit

  14. dd says:

    thanks a lot with your help!It`s very helpful!it works well with fedora 12.

  15. Pingback: Fedora中软件安装与卸载 « Niki`s Blog

  16. Pingback: how to install media player in fedora 11

  17. Ayyappan says:

    Thanks ...

  18. sanjeet kumar says:

    Thanks..

  19. Taijie says:

    Thank you so much!

  20. kofi anderson laud says:

    i will like 2 knw if dis procedure cn b use to config fedora 11 n 12

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>