| Markku Kolkka 2005-08-30, 8:46 pm |
| george.e.sullivan@saic.com wrote:
> How can I tell which CD was used to install a file/package in Linux?
> For example, in SGI Irix I can do:
>
> versions long | grep smake
> (part of the output is the package it is in)
In Red Hat, Fedora and other RPM based distros, do
rpm -qf /path/to/file
to see the name of the package used to install the file.
> next I do:
>
> showprods -F | grep dev.sw.make (that is the package)
In Fedora, you can use the "whichcd.py" program from the comps-extras
package to see which install CD contains the package.
/usr/share/comps-extras/whichcd.py packagename
Other distros may have different tools.
--
Markku Kolkka
markku.kolkka@iki.fi
|