I am trying to build a spec file for a package that will install (Require) a set of packages. I don't know what the full set is because some of the packages are required as part of a groupinstall.
There appears to be no way to require a package group in a spec file. Is there a way to find the list of packages required by an arbitrary group, so I can add this to the spec file?
List of packages required by a group?
Re: List of packages required by a group?
yum group info groupname
Re: List of packages required by a group?
Also bear in mind that many people will not use groups deliberately to stop the system being polluted with unnecessary packages. Many o fus do a Minimal install and then add individual packages and let yum pull in the dependencies for the thing we actually want.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: List of packages required by a group?
That reminds me of:
* Package yum-utils has command show-installed. It does list the packages that are currently installed, but in "compact form". Rather than listing all, it lists the packages and groups that you have to explicitly install ... and you will get the rest via dependencies.
The output has "human", "yum", and "kickstart" formats.
Alas, there is no dnf version.
* Package yum-utils has command show-installed. It does list the packages that are currently installed, but in "compact form". Rather than listing all, it lists the packages and groups that you have to explicitly install ... and you will get the rest via dependencies.
The output has "human", "yum", and "kickstart" formats.
Alas, there is no dnf version.
Re: List of packages required by a group?
IIRC show-installed also takes a --kickstart parameter that makes it emit the list in a format ready to be put in a kickstart file.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke