using rpm with --root <directory>

will install all files using the given directory as root, and the
database within root (i.e. not your system database).

David Looney

Ralph Shumaker wrote:
> I've been trying for days now to get apt-get installed on my system
> (rh9).  It all boils down to where I get stuck for lack of one stoopid
> file that I can only find packaged in older versions of RPM.  (In my
> research, I came across a couple of horror stories where they attempted
> to install the older version while thinking they would just be able to
> re-install the newer version.)
> 
> "man rpm" doesn't give me anything that looks like I can get rpm to
> install just one file from a package in the place where it is supposed
> to go and *not* update any databases in the process.  (It has a switch
> to do the opposite, namely to update the database without installing any
> files.)
> 
> If it's not possible to get rpm to do what I want, is there some other
> way to extract just one file from a package and know where to copy it to?
> 
> 


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to