Packages required
Eric Tanguy
eric.tanguy at univ-nantes.fr
Wed Jan 25 17:20:18 UTC 2006
Le mercredi 25 janvier 2006 à 16:25 +0000, Paul Howarth a écrit :
> Eric Tanguy wrote:
> > Le mercredi 25 janvier 2006 à 13:08 +0000, Paul Howarth a écrit :
> >
> >>Eric TANGUY wrote:
> >>
> >>>How to know which packages (not files) are required by a local package
> >>>(not in a repository). Those already installed and those not installed.
> >>
> >>$ rpm -q --requires name-of-installed-package
> >>$ rpm -qp --requires name-of-some.rpm
> >>
> >>Paul.
> >
> > Thanks Paul but this command gives the files needed by the packages
> > whereas i'm looking for the list of the packages which contains theses
> > files. I'm not sure to well explain myself.
>
> The --requires option shows the dependencies, which may be files,
> packages or "virtual dependencies". All of these should be installable
> using yum.
>
> For example, if an RPM file has a listed dependency of
> 'perl(MIME::Base64)' (a virtual dependency), you can do:
>
> # yum install 'perl(MIME::Base64)'
>
> and yum will figure out the package that is needed, and install it.
>
> What are you actually trying to do?
>
> Paul.
I have a package and i would like to know what packages have to be
installed with it to be sure i have forget nothing in the requires section.
Eric
More information about the fedora-list
mailing list