Heng Zhou
2015-Jan-17 15:59 UTC
[CentOS-docs] How to install libquicktime on CentOS 7 in one (or two) line of command?
On 1/17/2015 10:45 AM, Scott Robbins wrote:> On Sat, Jan 17, 2015 at 10:31:10AM -0500, Heng Zhou wrote: >> Hi, >> >> |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." > It's in the nux desktop repo for CentOS 7. If you look at the wiki tips and > tricks, http://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7 it gives > instructions to install it. > >Thank you but what my question is looking for is a way to automatically install all dependencies of a rpm file, not just how to install multimedia things on CentOS. PS: after go over all steps in that page, I still got error: error: Failed dependencies: libquicktime.so.0()(64bit) is needed by libquicktime-1.2.4-31.el7.x86_64
Scott Dowdle
2015-Jan-17 17:23 UTC
[CentOS-docs] How to install libquicktime on CentOS 7 in one (or two) line of command?
Greetings, ----- Original Message -----> Thank you but what my question is looking for is a way to automatically > install all dependencies of a rpm file, not just how to install > multimedia things on CentOS. > > PS: after go over all steps in that page, I still got error: > error: Failed dependencies: > libquicktime.so.0()(64bit) is needed by > libquicktime-1.2.4-31.el7.x86_64As already mentioned, yum does dependency resolution and downloads any needed packages... however... (I'm guessing) the package you downloaded isn't really from a well-maintained repository specifically made for CentOS 7. It's not just up to the package manager but also the packager and the packages. If a package doesn't define its dependencies well or if it is old and depends on ancient versions of things that aren't around anymore, it isn't going to work. Use the repo mentioned and you'll most likely be successful. Pick some random rpm and not so much. Regarding libquicktime... what is it you are wanting to do? Encode video, play back video, or what? ffmpeg really is the king of the encoders and vlc or mplayer are the tops of playback mainly because they offer support for so many container formats and codecs. TYL, -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work]
Heng Zhou
2015-Jan-17 17:53 UTC
[CentOS-docs] How to install libquicktime on CentOS 7 in one (or two) line of command?
On 1/17/2015 10:59 AM, Heng Zhou wrote:> > On 1/17/2015 10:45 AM, Scott Robbins wrote: >> On Sat, Jan 17, 2015 at 10:31:10AM -0500, Heng Zhou wrote: >>> Hi, >>> >>> |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." >> It's in the nux desktop repo for CentOS 7. If you look at the wiki >> tips and >> tricks, http://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7 it >> gives >> instructions to install it. >> >> > Thank you but what my question is looking for is a way to > automatically install all dependencies of a rpm file, not just how to > install multimedia things on CentOS. > > PS: after go over all steps in that page, I still got error: > error: Failed dependencies: > libquicktime.so.0()(64bit) is needed by > libquicktime-1.2.4-31.el7.x86_64 > > > _______________________________________________ > CentOS-docs mailing list > CentOS-docs at centos.org > http://lists.centos.org/mailman/listinfo/centos-docsTo Christoph Galuschka: The yum seems crashed. Fortunately I made a snapshot before and the system is now restored. The similar error from running yum install ./that_rpm is: --> Finished Dependency Resolution Error: Package: libquicktime-1.2.4-31.el7.x86_64 (/libquicktime-1.2.4-31.el7.x86_64) Requires: libschroedinger-1.0.so.0()(64bit) Error: Package: libquicktime-1.2.4-31.el7.x86_64 (/libquicktime-1.2.4-31.el7.x86_64) Requires: libquicktime.so.0()(64bit) Available: libquicktime-1.2.4-16.el7.nux.x86_64 (nux-dextop) libquicktime.so.0()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest I'm not gonna try it because I have no idea what it is talking about and I don't have faith that it works. To Scott Dowdle: Yeah, there are a lot of possibilities to my problem. But it is harder to verify a hypothesis than coming up with one. So, do you have any specific commands for the verification purpose? PS: it's interesting to see that the installation thing on linux is in such a mess when recalling just a few years ago linux fans laughing at Microsoft Windows for its inconvenience of installing something, such as nowhere to found installer, contains virus, uneasy to manitain new version, including dependencies, etc, which are now a lot more serious on linux. What a irony.
Scott Dowdle
2015-Jan-17 18:11 UTC
[CentOS-docs] How to install libquicktime on CentOS 7 in one (or two) line of command?
Greetings, ----- Original Message -----> Yeah, there are a lot of possibilities to my problem. But it is harder > to verify a hypothesis than coming up with one. So, do you have any > specific commands for the verification purpose?I'm not sure what you mean by "specific commands for verification process". Step 1, delete the troubled package and erase it from your memory. Step 2, follow the instructions about adding a repository that has the multimedia stuff in it.> PS: it's interesting to see that the installation thing on linux is in > such a mess when recalling just a few years ago linux fans laughing at > Microsoft Windows for its inconvenience of installing something, such as > nowhere to found installer, contains virus, uneasy to manitain new > version, including dependencies, etc, which are now a lot more serious > on linux. What a irony.No, it just shows how unreasonable you are being regarding this particular topic. Basically you are sticking a fork in your eye and wondering why it feels like a fork has been stuck in your eye... and then blaming yum for not stopping you from sticking a fork in your eye. Again, if you have a poorly made, ancient package you could spin your wheels forever and never get it installed and working... so if you continue to ignore the suggestions of people actually trying to help you reach your goal... and continue on a tangential experiment... that fork is going to stay in your eye. More ironical is the fact that you think it is ironical. :) It is easy to screw up Linux as root if you do stupid stuff. Anyone with root access can kill any Linux distro by doing harmful things on purpose. TYL, -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work]
Reasonably Related Threads
- How to install libquicktime on CentOS 7 in one (or two) line of command?
- How to install libquicktime on CentOS 7 in one (or two) line of command?
- How to install libquicktime on CentOS 7 in one (or two) line of command?
- How to install libquicktime on CentOS 7 in one (or two) line of command?
- How to install libquicktime on CentOS 7 in one (or two) line of command?