Need to know what rpm a certain file came from? Sometimes I want a certain program on one machine that I have on another, and my rpm searches come up blank. This happened with a program that I needed called lockfile, that I couldn't figure out how to install. It ended up being in the procmail-3.22-203.1 rpm.
The command I used was this:
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-rpm-impressing.html
The command I used was this:
rpm -qf /usr/bin/lockfileI found that tip here:
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-rpm-impressing.html
Comments
Post a Comment