I have a user account (/home/[username]) on a Redhat 5.4 server, no root permissions. I'm trying to get a computation-heavy Python program running on there that requires a few Python extension libraries (NumPy, PyImaging and Delny-0.2.0, specifically). I knew the server's Python 2.4 installation didn't have those libraries, so I figured I'd start installing what I needed under my home directory (~/.local/) and running stuff from there. I started by installing Python 2.6.4 there and aliasing my "python" command and "PATH" variables to there.
Not having permissions to run a package manager ("yum" on that machine), I had to compile/install this stuff into my home directory manually, and it didn't take long before I wallowed in dependency hell. Python 2.6.4 was installed, although several of the module extensions (such as Tkinter) didn't install due to missing library dependencies. PyImaging (aka "PIL") requires the Tcl/Tk libraries, which require Tkinter, which requires linking to the X11 libraries (the server has X11 installed, but none of the build headers or developer libraries), which requires all kinds of crap that I was up until 3am last night trying to figure out. [Makefile-shudders]
When I was halfway through a broken build of the entire gcc-g++ compiler framework (just to get the X11 libraries built), I knew I was down the wrong path here. A full day doing that makes me appreciate the built-in dependency tracking & installation of a good package manager.
Anyway, back to my question: Is there any type of Package Manager (simple or otherwise) I can install & run on Redhat 5.4 meeting these requirements?
- It can install stuff to other directories besides root ('/')... namely, my home directory, but still read from "root" for needed dependencies.
- It can be installed and run without root privileges? I understand it would break if I tried (w/out root permissions) to install stuff under '/', but installing stuff under '/home/[user]' it could work with my user permissions.
Any help there would be appreciated. Any manager I've seen always requires root permissions just to start up. I don't have such permissions, and I won't.
Or conversely (this could help too) if there's any way for me to acquire and/or link to the X11 Developer libraries without having to build & install the entire framework locally, that'd be awesome.
Thanks a million!