Today's post will describe how to install MPlayer from ATRPMS on Centos 7 machine. And yes, RPM dependency hell included.
TOC
Add ATRPMS and EPEL repository
I will try to install mplayer from atrpms repository. I will create yum configuration for it:
[root@centos-7 ~]# cat /etc/yum.repos.d/atrpms.repo [atrpms] name=Fedora Core $releasever - $basearch - ATrpms baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms gpgcheck=1 enabled=1
Now I need to import GPG signing key:
[root@centos-7 ~]# rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
Next repository I need to install is EPEL. It contains another packages mplayer depends on. I will download epel rpm and install it:
[root@centos-7 ~]# wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm [root@centos-7 ~]# yum localinstall epel-release-7-0.2.noarch.rpm
Install dependecies
I will try to install mplayer and maybe it will work out of the box:
[root@centos-7 ~]# yum install mplayer . . . --> Processing Dependency: libartsc.so.0()(64bit) for package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 --> Processing Dependency: libvga.so.1()(64bit) for package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 --> Finished Dependency Resolution Error: Package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: libartsc.so.0()(64bit) Error: Package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: libaudio.so.2()(64bit) Error: Package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: libvga.so.1()(64bit) Error: Package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: liblirc_client.so.0()(64bit) Error: Package: mpg123-1.18.1-1.el7.x86_64 (atrpms) Requires: libesd.so.0()(64bit) Error: Package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: libesd.so.0()(64bit) Error: Package: mpg123-1.18.1-1.el7.x86_64 (atrpms) Requires: libaudio.so.2()(64bit) Error: Package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: libdirac_decoder.so.0()(64bit) Error: Package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: libnemesi.so.1()(64bit) Error: Package: 4:mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: libdirac_encoder.so.0()(64bit) Error: Package: mpg123-1.18.1-1.el7.x86_64 (atrpms) Requires: libartsc.so.0()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Apparently it won't. I'll try to satisfy dependecies with fedora 19 packages. Here is the list:
- arts-1.5.10-22.fc19.x86_64.rpm
- dirac-libs-1.0.2-10.fc19.x86_64.rpm
- esound-libs-0.2.41-8.fc19.x86_64.rpm
- libnemesi-0.7.0-0.4.20110215git.fc19.x86_64.rpm
- lirc-libs-0.9.0-11.fc19.x86_64.rpm
- nas-libs-1.9.3-6.fc19.x86_64.rpm
- netembryo-0.1.1-4.fc19.x86_64.rpm
- schroedinger-1.0.11-4.fc19.x86_64.rpm
- svgalib-1.9.25-12.fc19.x86_64.rpm
These packages may have also dependencies therefore I will use yum localinstall
to pull them in:
[root@centos-7 ~]# ls -1 *rpm arts-1.5.10-22.fc19.x86_64.rpm dirac-libs-1.0.2-10.fc19.x86_64.rpm esound-libs-0.2.41-8.fc19.x86_64.rpm libnemesi-0.7.0-0.4.20110215git.fc19.x86_64.rpm lirc-libs-0.9.0-11.fc19.x86_64.rpm nas-libs-1.9.3-6.fc19.x86_64.rpm netembryo-0.1.1-4.fc19.x86_64.rpm schroedinger-1.0.11-4.fc19.x86_64.rpm svgalib-1.9.25-12.fc19.x86_64.rpm [root@centos-7 ~]# yum localinstall *rpm . . . Transaction Summary ================================================ Install 9 Packages (+4 Dependent packages) Total size: 13 M Total download size: 3.9 M Installed size: 21 M Is this ok [y/d/N]: y . . .
Install MPlayer
Now there is nothing holding me back from installing mplayer:
[root@centos-7 ~]# yum install mplayer . . . Transaction Summary =============================================== Install 1 Package (+35 Dependent packages) Total download size: 35 M Installed size: 81 M Is this ok [y/d/N]: Y . . .
it works! thanks
ReplyDeletehttp://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm is dead!
ReplyDeleteIt is not beta anymore - http://mirror.karneval.cz/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
Deleteany luck installing both mplayer and vlc side by side? seems the "live" package they use conflicts.
ReplyDeletefile /usr/lib64/libBasicUsageEnvironment.so.0 from install of live555-2013.11.26-1.el7.nux.x86_64 conflicts with file from package live-2012.02.04-1.el7.x86_64
Same problem installing VLC and Mplayer side by side here. You can take a look at the thread https://forums.nux.ro/index.php?t=msg&th=325&start=0 with a successful log http://pastebin.com/raw.php?i=QsvTLgs8.
DeleteI resolved the conflict by first removing conflicting packages. Then I specifically asked YUM to install both VLC and Mplayer from the same repository "nux-dextop". This way it didn't complain anymore.
millions of thanks
ReplyDelete"yum install mplayer" is giving below error.
ReplyDeletehttp://dl.atrpms.net/el7Server-x86_64/atrpms/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to dl.atrpms.net:80; Connection refused"
Trying other mirror.
ailure: repodata/repomd.xml from atrpms: [Errno 256] No more mirrors to try.
http://dl.atrpms.net/el7Server-x86_64/atrpms/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to dl.atrpms.net:80; Connection refused"
dl.atrpms.net has been dead so now not working this
ReplyDeleteUse this site to find all the missing package rpms!!!
ReplyDeletehttp://rpm.pbone.net/index.php3?stat=26&dist=86&size=428008&name=svgalib-1.9.25-12.fc19.x86_64.rpm
Just used this on Centos 7.3 with the nux desktop the only dep that I needed from fedora 19 was svgalib which I found as @killerbake above did with rpm.bone.net. Very helpful article!
ReplyDelete