Skip to main content

Posts

Showing posts from May, 2009

Which rpm did this file come from?

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:
rpm -qf /usr/bin/lockfile I found that tip here:
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-rpm-impressing.html