I dont have root access but I would like to install several packages (gtk)
in my home directory. Is it possible to install it via yum ?
Am 26.08.2012 um 15:51 schrieb Rita:
AFAIK – no. But checkout the manual for rpm.
no. rpm installed packages have to be listed in the system catalogs so package management can keep track of them. have your system manager install them, or build your own from tarballs specifying to install in your home dir (typically a –prefix= option on ./configure, but that heavily depends on the package and how its built).
Thanks. My system manager wants the installations to be very small which makes sense and also the stock versions are very outdated therefore it would be hard.
In a nutshell, yes, it should be possible. It will be complicated, and might even be very complicated, but it actually sounds like a ‘different from normal’ application of mock or mock’s predecessor, ‘mach’. This is not the only way to do this sort of thing, but if you want to use yum to do the install…..
I do not have a specific procedure, but I can point you to a rather interesting document about running a Debian userland on top of SuSE linux at: http://www.network-crawler.de/index.php/Debian_within_SuSE (as a note, I learned about this even being possible at http://forums.nekochan.net/viewtopic.php?f&t725842&ps44235#p7344235 and then googled from there….).
This uses chroot to do its magic. (seems I’ve read this really recently on another list….. :-) ).
There are limits to how far you can take this, but that document is a start at understanding the mechanics that make it work, and for what you want to do, if using yum is a requirement, this may be the way to do it (just not using Debian on SuSE, but something RPM-based on CentOS).
The other recommendation of installing things via tarball is quite a bit simpler to set up, but will be more complicated to maintain and update over time.