using rpms for non-root installs

Alec Leamas leamas.alec at gmail.com
Thu Jan 31 05:08:09 UTC 2013


On 01/31/2013 01:13 AM, M A Young wrote:
> On Wed, 30 Jan 2013, Mátyás Selmeci wrote:
>
>> This may be a long shot, but I am interested in repackaging some RPMs 
>> (for
>> example, some of the Globus packages in EPEL, as well as grid 
>> software that
>> my group builds) such that the software in them may be installed by
>> unprivileged users, or into a non-standard location such as an NFS 
>> share.
>> I'd like to use existing RPMs, preferably binaries, as a starting 
>> point to
>> avoid duplicating work. (Naturally a lot of post-install scripting 
>> would be
>> needed to fix binaries such that they'd work with the path they were
>> installed into).
>
> It depends want you mean by "install" but you can unpack the files in 
> an rpm package with rpm2cpio eg.
> cd target/dir ; rpm2cpio <some.rpm | cpio -idmv
>
>     Michael Young
>
>
Yes, or similar.  The basic limitation is still that writing to the 
/var/lib/rpm db requires root privileges, so you can't really make a 
user install managed by rpm.

--alec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130131/5133a94d/attachment.html>


More information about the devel mailing list