[CentOS] How to query the package owning the file? (no packahe manger installed)
Hilliard, Jay
Jay.Hilliard at disney.comFri Jul 15 17:37:41 UTC 2005
- Previous message: [CentOS] How to query the package owning the file? (no packahe manger installed)
- Next message: [CentOS] Re: How to query the package owning the file? (no packahe manger installed)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> To find the package that owns a particular file that is installed on > your system, you would do: > > rpm -q --whatprovides /full/path/to/file > > for example, on CentOS-4 if I do: > > rpm -q --whatprovides /bin/bash > > I get this as an answer: > > bash-3.0-19.2 rpm -qf /path/to/file will give you the same results -Jay
- Previous message: [CentOS] How to query the package owning the file? (no packahe manger installed)
- Next message: [CentOS] Re: How to query the package owning the file? (no packahe manger installed)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list