-   Linux - Software (
-   -   Install rpm's locally? (

Lul2x 03-26-2004 04:00 PM

Install rpm's locally?
Does anyone know how to install rpm's locally? My hosting service is running RH9 and I don't have root access. But I am allowed to install locally. I was thinking of just compiling from scratch, but rpm's are pretty easy for covering dependencies. I'm trying to install imagemagick by the way. Any suggestions welcomed :)

Thank you.

bigrigdriver 03-26-2004 05:31 PM

I've got a headache just from thinking about the problems with trying to install without root privileges. Thoughts about: install from command-line (the only way in this case), specifying a host of options, such as --root, --prefix, etc., to try to get rpm to accept <user> as <root> by installing to your home directory. Then it occured to me that you might be able to get it to work more easily if you tried a .src.rpm instead. You might be able to install that into your user space, if your user space lists it's own /usr instead of the server's. Then compile a binary built for your location, which you can install there.
I don't know it that would work. Like I said, I got a headache thinking about the variables in the other case. Dependencies could still be a problem if you can't get the thing to accept the server's files as suitable for it's needs, or if your location can't satisfy them.

phantomgraph 03-26-2004 07:53 PM

RPM's without root priv.
The only way I know of install software on the user level is by compiling in your user directory (I do this a lot on my home machine sometimes to prevent some tools from being used by other users on my machine.)

Because RPM uses a database to update/verify dependencys I would be very worried about even trying something like that.

Best bet: Get and compile the source tar.gz =)

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