Page 1 of 1

How to install libquicktime on CentOS 7 in one(or two) line?

Posted: 2015/01/17 15:41:45
by zzzhhh
Hi,

For some reason, I need support of QuickTime on my CentOS 7. So I searched the internet and found that something called "libquicktime" can provide that support. So I download the rpm file from http://rpmfind.net/linux/rpm2html/searc ... 8x86-64%29. Then I ran command "rpm -i libquicktime-1.2.4-31.el7.x86_64.rpm" and got the following errors:
warning: libquicktime-1.2.4-31.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 66534c2b: NOKEY
error: Failed dependencies:
libfaac.so.0()(64bit) is needed by libquicktime-1.2.4-31.el7.x86_64
libfaad.so.2()(64bit) is needed by libquicktime-1.2.4-31.el7.x86_64
libmp3lame.so.0()(64bit) is needed by libquicktime-1.2.4-31.el7.x86_64
libquicktime.so.0()(64bit) is needed by libquicktime-1.2.4-31.el7.x86_64
libschroedinger-1.0.so.0()(64bit) is needed by libquicktime-1.2.4-31.el7.x86_64
libx264.so.142()(64bit) is needed by libquicktime-1.2.4-31.el7.x86_64

I can install these missing dependencies by querying for their package name and installing them one by one manually. But this is so tedious and time consuming, so I am wondering if there is any one-strike single-line (or two) command that can automatically install all dependencies, as well as the target rpm file. I hear that yum has a similar function but I don't know how to use yum to install libquicktime because it complains "No package libquicktime available."

Thanks for any (working) answer.

PS: I'm using CentOS 7, so please don't point me to those too old CentOS 6 links. I've read them, they are only a waste of time on 7. Thanks.

Re: How to install libquicktime on CentOS 7 in one(or two) l

Posted: 2015/01/17 16:46:46
by toracat
I'm guessing libquicktime-1.2.4-31.el7.x86_64.rpm is from ATrpms? At any rate, don't use it. Set up the nux-dextop repo by following the instructions here and run a 'yum install' command. That should pull all dependencies. If it shows missing packages, then you would probably need the EPEL repository as well.

Re: How to install libquicktime on CentOS 7 in one(or two) l

Posted: 2015/01/17 17:27:22
by zzzhhh
toracat wrote:I'm guessing libquicktime-1.2.4-31.el7.x86_64.rpm is from ATrpms? At any rate, don't use it. Set up the nux-dextop repo by following the instructions here and run a 'yum install' command. That should pull all dependencies. If it shows missing packages, then you would probably need the EPEL repository as well.
I have no idea where it is from. I gave the download link in the origin post.

Do you mean I should download the nux-dextop rpm from https://dl.fedoraproject.org/pub/epel/7 ... noarch.rpm and then ran "yum install ./this_rpm"? I did this. There is no dependency error during the installation. But now what? How can I verify QuickTime support is installed? I downloaded a sample QuickTime video from http://support.apple.com/en-us/HT201549 (the first one, sample_iPod.m4v), but it can not be played saying I haven't installed some plugins and a list of package (maybe related to the missing plug-ins I think) are shown (I don't know how it appears. It never come out again) and asked me to install. I clicked the install button and error, as expect (whatever I want to do on linux, the most thing I met with is error). So, now what?

Re: How to install libquicktime on CentOS 7 in one(or two) l

Posted: 2015/01/17 18:04:30
by chemal
libquicktime is a library for programmers, not a movie player. Type "yum install gstreamer1\*" for use with totem. Or get a different movie player with "yum install smplayer" or "yum install vlc". (Nux+epel required.)

Re: How to install libquicktime on CentOS 7 in one(or two) l

Posted: 2015/01/17 18:07:10
by zzzhhh
chemal wrote:libquicktime is a library for programmers, not a movie player. Type "yum install gstreamer1\*" for use with totem. Or get a different movie player with "yum install smplayer" or "yum install vlc". (Nux+epel required.)
OK, I'm a programmer, I need to install libquicktime. How?

Re: How to install libquicktime on CentOS 7 in one(or two) l

Posted: 2015/01/17 18:18:06
by chemal
yum install libquicktime-devel

Re: How to install libquicktime on CentOS 7 in one(or two) l

Posted: 2015/01/17 18:20:34
by zzzhhh
chemal wrote:yum install libquicktime-devel
error:

--> Finished Dependency Resolution
Error: Package: ffmpeg-libs-2.3.4-1.el7.nux.x86_64 (nux-dextop)
Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: ffmpeg-libs-2.3.4-1.el7.nux.x86_64 (nux-dextop)
Requires: libopenal.so.1()(64bit)
Error: Package: ffmpeg-libs-2.3.4-1.el7.nux.x86_64 (nux-dextop)
Requires: libva.so.1()(64bit)
Error: Package: libquicktime-1.2.4-16.el7.nux.x86_64 (nux-dextop)
Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: ffmpeg-libs-2.3.4-1.el7.nux.x86_64 (nux-dextop)
Requires: libass.so.5()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: How to install libquicktime on CentOS 7 in one(or two) l

Posted: 2015/01/17 18:27:41
by chemal
Didn't I we say you need nux *and* epel?

Re: How to install libquicktime on CentOS 7 in one(or two) l

Posted: 2015/01/17 18:30:12
by scottro
On the mailing list, this poster has mentioned that they have decided to give up on it. The issue was apparently bad mixing of repos.

Anyway, short answer, to do this in one line requires some research first, as the system has already been a bit broken by mixing some repos' rpms.