Downloading app installation rpm "sets"
Posted by XIIV on 2012/2/13 16:49:03
How do I find out what the extra rpms are for an app?
I can't install online at home ATM, so need to grab stuff at my local library to USB stick.
For example:
Mplayer needs other things installing to work. How do I find out what they are?
(I already have rmpforge installed and working.)
Re: Downloading app installation rpm "sets"
Posted by pschaff on 2012/2/13 18:27:51
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
"User Comments" is not an appropriate forum for a question. Please let us know what CentOS release you are using so your post can be moved to a more appropriate forum.
Do you mean you have installed the
RPMforge repo configuration? That's not going to help much without an Internet connection.
There is no really good way to do what you want. If you have downloaded the mplayer RPM then do:
yum localinstall mplayer-<version>.<arch>.rpm
or perhaps better, mount the DVD media on an appropriate mountpoint and use
yum --disablerepo \* --enablerepo cX-media localinstall mplayer-<version>.<arch>.rpm
where
X is your major version, and see what it complains about. That may be an iterative process because the requirements may in turn have additional requirements.
You can also do
rpm -qp --requires mplayer-<version>.<arch>.rpm
but the package requirements may not all be immediately obvious.
Re: Downloading app installation rpm "sets"
Posted by XIIV on 2012/2/16 13:11:54
Thanks Phil. I'll try those ideas and see if I can get something working.
It strikes me that somewhere there is a list of whats needed for this or that app. The internet installer must access some database to "know" what dependancies are required. With Slackware's "slackbuilds" there is typically a list of dependancies available so one knows what to get along with an app. I'd hoped there might be something usable like this with CentOS.
If only public libraries ran proper software instead of Win-D'ohs, eh? ;)
Re: Downloading app installation rpm "sets"
Posted by pschaff on 2012/2/17 10:58:36
Each RPM package's dependencies contain its requirements, but when you get into layers of dependencies, as discussed above, yum used the repository metadata to resolve dependencies for the install set. AFAIK there is no way to do that automatically on an isolated system without an Internet connection, except to use
local mirrors.
Re: Downloading app installation rpm "sets"
Posted by XIIV on 2012/2/17 14:07:08
As a CentOS newbie, I'm still working on these suggestions. Its quite different to the Slackware way of doing things, thats fer sure. Cheers!
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=37&topic_id=35780