Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-26-2004, 03:00 PM   #1
Registered: Mar 2004
Posts: 32

Rep: Reputation: 15
Question 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.
Old 03-26-2004, 04:31 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,894

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.
Old 03-26-2004, 06:53 PM   #3
LQ Newbie
Registered: Feb 2004
Location: MI
Distribution: Red Hat 5.0+ & Fedora
Posts: 16

Rep: Reputation: 0
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 =)

Last edited by phantomgraph; 03-26-2004 at 07:03 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
built kernel locally...need to install to a remote machine. how? ARCHIGAMER Linux - General 1 04-10-2005 02:52 PM
Can't install rpm's!!! Braveheart1980 Linux - General 8 01-02-2004 05:25 PM
RPM's won't install Hoops66 Red Hat 2 10-16-2003 04:15 PM
RPM's won't install DigiDave Linux - Newbie 10 09-29-2003 05:48 AM
Can't install RPM's kronchev Linux - Software 1 07-30-2003 09:05 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:04 PM.

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