I can't run applications that have been installed from rpm files
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can't run applications that have been installed from rpm files
Hi, I'm new to linux and have just installed Red Hat 9. I want to be able to watch mpgs and have tried to installed the latest copy of Xine. I downloaded the latest version of Xine as an RPM file to /home/rob and tried to install it through terminal:
The source rpm (.src.rpm) is not the install rpm. This file is used to create an rpm for your system. Just go back to your download site and grab an rpm that doesn't end in .src.rpm.
Hi, I tried to install apt4rpm see below - more dependency problems, Is that an easier way to install a video player?, I can't find librpm.so.0 anywhere...
[root@cpc3-nott3-3-0-cust241 rob]# ls
1.mpg apt4rpm-0.67-0.noarch.rpm Hectosoft xine-0.9.22-1.fr.i386.rpm
[root@cpc3-nott3-3-0-cust241 rob]# rpm -U apt4rpm-0.67-0.noarch.rpm
error: Failed dependencies:
perl-XML-LibXML is needed by apt4rpm-0.67-0
apt-server is needed by apt4rpm-0.67-0
[root@cpc3-nott3-3-0-cust241 rob]# ls
1.mpg Hectosoft
apt-0.5.4cnc9-1cl.i386.rpm xine-0.9.22-1.fr.i386.rpm
apt4rpm-0.67-0.noarch.rpm
[root@cpc3-nott3-3-0-cust241 rob]# rpm -U apt-0.5.4cnc9-1cl.i386.rpm
warning: apt-0.5.4cnc9-1cl.i386.rpm: V3 DSA signature: NOKEY, key ID 92a38df6
error: Failed dependencies:
librpm.so.0 is needed by apt-0.5.4cnc9-1cl
[root@cpc3-nott3-3-0-cust241 rob]#
[root@cpc3-nott3-3-0-cust241 rob]#
2 things - first you are using the wrong switches: -U is to upgrade, -e is to remove and -i is to install.
As far as apt4rpm goes, you need to install both packages at the same time:
rpm -ivh apt4rpm-0.67-0.noarch.rpm apt-0.5.4cnc9-1c1.i386.rpm (or whatever the packages are called)
Cheers, tried that and got the message below. I'm running Red Hat 9, under the default desktop environment, Is there an easier way to install a video player? if not does anyone know where I can get librpm.so.0.
[root@cpc3-nott3-3-0-cust241 rob]# ls
1.mpg Hectosoft
apt-0.5.4cnc9-1cl.i386.rpm xine-0.9.22-1.fr.i386.rpm
apt4rpm-0.67-0.noarch.rpm
[root@cpc3-nott3-3-0-cust241 rob]# rpm -ivh apt4rpm-0.67-0.noarch.rpm apt-0.5.4cnc9-1cl.i386.rpm
warning: apt-0.5.4cnc9-1cl.i386.rpm: V3 DSA signature: NOKEY, key ID 92a38df6
error: Failed dependencies:
perl-XML-LibXML is needed by apt4rpm-0.67-0
apt-server is needed by apt4rpm-0.67-0
librpm.so.0 is needed by apt-0.5.4cnc9-1cl
[root@cpc3-nott3-3-0-cust241 rob]#
[root@cpc3-nott3-3-0-cust241 rob]#
I've given up another 7 dependencies for perl-XML-LibXML and 2 from librpm.so.0. I'm going to re-install Red Hat 9 with all available packages. What is the easiest video player to install on Red Hat 9?
There is no dependency hell unless you create one yourself. Don't download arbitrary packages from arbitrary sites on the Internet.
apt4rpm is not a package tool, but APT-RPM is. It's also known as just "apt" and contains the apt-get utility, for instance.
The easiest way to install add-on packages is to install yum (or apt) for Red Hat Linux 9 as explained here: http://www.fedora.us/wiki/FedoraHOWTO -- The URL reads Fedora, but it is an add-ons site for Red Hat Linux and Fedora Core. When you've installed that, you would just need to add another add-ons packages repository, such as explained at http://rpm.livna.org to get access to additional multimedia software for Red Hat Linux. The package utility solves dependencies for you: "yum install xine" and you would be done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.