LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-02-2009, 10:14 AM   #1
mmacferrin
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Rep: Reputation: 0
Question Is there a package manager that doesn't required root access?


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!

- Mike

Last edited by mmacferrin; 12-02-2009 at 10:19 AM. Reason: doofed-up grammar
 
Old 12-02-2009, 10:56 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
The only things I'm aware of are things like autopackage, klik, or zero install. Not sure if any of these will have prebuilt packages for things you're looking for.

Or is there a way you could talk to whoever manages the machine and does have root access? Maybe they would be willing to install some stuff for you.
 
Old 12-02-2009, 04:43 PM   #3
mmacferrin
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks pljvaldez. Zero Install looks like a good option, if I can get it to install (it doesn't zero-install itself, unfortunately, and has a lot of dependencies that may be as difficult to get installed as the stuff I'm doing right now). However, it may be worth a shot.

I doubt I can get stuff installed on this machine (it was something of a favor just to get a user account in the first place), but I'm looking around, and I think I may have access to another server that might do even better for me (a 32-processor quad-core batch server) and I know the owner well, so it might be easier for me to go that route instead of wallowing in the package-install-hell I'm dealing with currently.

Anyhoo, thanks a bunch for the suggestions... I appreciate that. I just need to find one of 'em that has the Python Image Library packaged in it... the other two dependencies I think I can resolve/install much more easily. I was kinda hoping someone might have an idea that I hadn't thought of yet, but maybe that's not in the works.

- Mike
 
Old 12-02-2009, 06:06 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Assuming you the new machine has RHEL on it too: There are a ton of system packages that depend on python. So you still will not be able to replace python (system wide) without breaking the install.

Most of the things that you build against in a RH based system requires the -devel version of the package to be installed as well as the package itself.
 
Old 12-03-2009, 05:17 AM   #5
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Best course of action would be running a form of virtualized machine running Fedora. Server would be stable and you would be able to do what ever you need.
 
Old 12-03-2009, 08:13 AM   #6
mmacferrin
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
Assuming you the new machine has RHEL on it too: There are a ton of system packages that depend on python. So you still will not be able to replace python (system wide) without breaking the install.

Most of the things that you build against in a RH based system requires the -devel version of the package to be installed as well as the package itself.
Yeah, I wouldn't need to replace Python system-wide in the new system (I don't particularly need Py 2.6 or anything), I just need a couple of the extension libraries available. I don't see how that'd break the install. I realize the -devel stuff is needed... that's why (for instance) I was having such trouble linking to X11 on the system... I couldn't figure out how to separately install (in my home directory) the -devel package for it, if that's even possible.
 
Old 12-03-2009, 08:18 AM   #7
mmacferrin
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DrLove73 View Post
Best course of action would be running a form of virtualized machine running Fedora. Server would be stable and you would be able to do what ever you need.
Good idea... is there any way I could get that running without VMWare or xen-tools (or otherwise) on the server already? Besides the software the server was installed to run (it's a server in a Geography dep't, used for geographic image-processing and analysis software), it doesn't have a helluva lot on there. I'll check, but I don't think either of those packages is there.
 
Old 12-03-2009, 04:31 PM   #8
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
There is also KVM that is meant to be part of the kernel. I have some kvm packages version 84 and 85 in my repository, but with new kernel I would not recommend it. I installed it while on 2.6.18-92.x kernel (around there) and 2.6.18-164.x does not like it. kvm 36, part of the base/os repository (I think) should also work.

Administrator will have to learn and install hipervizor, and create virtual machine and give you access rights, but you will not be able to install it by your self. Good thing is once virtual hipervizor is set, they will be able to use it them self for ever purpose, like testing new packages or similar without touching host machine. They would just destroy your machine when you are done and create one,two,three for them when they decide they need it.
 
  


Reply

Tags
redhat, x11, yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adept package installer not working if not launched by package manager iqbala Ubuntu 3 11-29-2008 06:32 AM
Gaining root access to file manager Rick069 Linux - Software 2 04-27-2007 10:24 PM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
Suse 10.1 help required on smart package manager sunnydayzrback Linux - Software 5 07-28-2006 08:15 AM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration