Re: using rpms for non-root installs

2013-02-03 Thread Pavel Alexeev
Hello. Yum also may be used with --installroot=root I have used yum and rpm on that kind with aliases for current user to install software from repositories on shared hosting absolutely without root privileges. In most cases it works, except some cases when particular binaries looks say own

Re: using rpms for non-root installs

2013-02-03 Thread Kevin Kofler
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

Re: using rpms for non-root installs

2013-02-01 Thread Stephan Bergmann
On 01/31/2013 08:40 AM, Michael Stahnke wrote: You actually may have an option. It's dirty, and here be dragons. I know this from working on RPM on AIX, so again, it's hacky. I did this on a CentOS 6.3 box for my example, should work on Fedora. You can do something like: ls

Re: using rpms for non-root installs

2013-01-31 Thread Jan Zelený
On 30. 1. 2013 at 16:06:35, Mátyás Selmeci wrote: Hi, 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,

Re: using rpms for non-root installs

2013-01-31 Thread Mátyás Selmeci
Michael Stahnke wrote: ls zip-3.0-1.el6.x86_64.rpm mkdir $HOME/.myrpm cp -pr /var/lib/rpm/* $HOME/.myrpm/ chown -R $USER $HOME/.myrpm/ rpm -Uvh --justdb --dbpath $HOME/.myrpm zip-3.0-1.el6.x86_64.rpm rpm2cpio zip-3.0-1.el6.x86_64.rpm | cpio -idmv rpm -q

using rpms for non-root installs

2013-01-30 Thread Mátyás Selmeci
Hi, 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

Re: using rpms for non-root installs

2013-01-30 Thread Jorge Gallegos
On Wed, Jan 30, 2013 at 04:06:35PM -0600, Mátyás Selmeci wrote: Hi, 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

Re: using rpms for non-root installs

2013-01-30 Thread M A Young
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

Re: using rpms for non-root installs

2013-01-30 Thread Adam Williamson
On Wed, 2013-01-30 at 15:53 -0800, Jorge Gallegos wrote: On Wed, Jan 30, 2013 at 04:06:35PM -0600, Mátyás Selmeci wrote: Hi, 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

Re: using rpms for non-root installs

2013-01-30 Thread Kevin Fenzi
On Wed, 30 Jan 2013 16:38:49 -0800 Adam Williamson awill...@redhat.com wrote: You may also want to look up the old-as-dirt --relocate parameter to RPM. You could try using it, and watch it explode in more cases than not. But RPM packages are (or were) (at least in theory) supposed to be

Re: using rpms for non-root installs

2013-01-30 Thread Adam Williamson
On Wed, 2013-01-30 at 17:47 -0700, Kevin Fenzi wrote: On Wed, 30 Jan 2013 16:38:49 -0800 Adam Williamson awill...@redhat.com wrote: You may also want to look up the old-as-dirt --relocate parameter to RPM. You could try using it, and watch it explode in more cases than not. But RPM

Re: using rpms for non-root installs

2013-01-30 Thread Alec Leamas
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

Re: using rpms for non-root installs

2013-01-30 Thread Michael Stahnke
You actually may have an option. It's dirty, and here be dragons. I know this from working on RPM on AIX, so again, it's hacky. I did this on a CentOS 6.3 box for my example, should work on Fedora. You can do something like: ls zip-3.0-1.el6.x86_64.rpm mkdir $HOME/.myrpm cp -pr