LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-26-2004, 03:00 PM   #1
Lul2x
Member
 
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
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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
phantomgraph
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 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