FedoraThis forum is for the discussion of the Fedora Project.
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 am having a lot of trouble trying to get mplayer and all of its codecs to install. Using rpm, I keep getting this:
error: open of mplayer-common-1.Opre4-3.i386.rpm failed: No such file or directory
I don't understand this, I have these files in .rpm and .tar.bz2 just as the instructions say. Still, I get nothing. I also tried to install an MP3 fix for xmms, but I don't know where the heck xmms is. This is only my second day using Linux... ever, I am trying to get all the info from these msg boards I can to help. Anything is appreciated.
K RPM is acctually quite simple. ALot of options but simple to use to install.
Code:
rpm -Uvh <package>
That will install an RPM. IF you need to import a gpg key rpm --import <gpgkey.txt> will do that for you.
RPM is so cool that you don't even need the package to be installed local for it to work. By placing a FULL URL to the package in the package variable rpm will download and install that package for you. More typing but unless the URL is bad it will find the RPM. Alternatively you can use yum. One problem with RPM is that it won't resolve and download and install dependencies for you.
yum will do that for you.
yum -y package will download and install the package and resolve the dependencies for you automatically if they are available in your repository list. your repostiroy list is located in /etc/yum.conf . you can add more if you so choose. I have placed a few listings around this forum for Fedora specific Repostories that I use.
You can add these to it as is at the bottom of your yum.conf:
My friend has been trying to help me and says I am not giving enough information so here it is:
I am trying to install mplayer and xmms and whatever else is out there... But the problem is I am following all of the online how to's and when I use the rpm method
[root@localhost useracct]# rpm -Uhv <package>
I get the response that
error: open of <package> failed: No such File or Directory
I have dl'd all of the files that I should need, saved them to my user acct desktop and cannot get them to work. Shoud these files be saved somewhere else? If anyone can help, I would be much appreciative. Also, tried to bzip2 .... Same response
Might be a typo. Thats the only time I see that error. As long as you are using rpm in the same dir as the rpms and the pakcage name is correct you are good to go. Now If its not that then I'm done with suggestions.
Just tried the suggestion to get from the ftp server, that worked rpm -Uhv <Url>
But one of them told me that it can't resolve dependencies? How do I get yum to do thta?
Simply follow the instructions above add the entries to yum.conf
then type yum -y install <package>
If it doesn't resolve the dependency (if its not available in the list of repositories in your yum.conf) and you only one the file name example (libpng12.so.1)
yum provides <dependency needed> (libpng12.so.1)
will tell you what package(s) provide(s) that dependency. then you can find and install that.
rpm --whatprovides does the same thing with packages already installed in your system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.