LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2005, 06:13 AM   #1
paulr1984
Member
 
Registered: Dec 2003
Posts: 75

Rep: Reputation: 15
rpm installation


Hi!

Is there a way to install rpms without root privileges? I tried using --prefix /home/user/mydir. But the rpm is non-relocatable. How do I proceed?
 
Old 04-28-2005, 07:25 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I don't think you can install rpms to your home directory because they are built to be installed in certain directories. As you discovered most cannot be relocated. Just use root to install them or use "sudo" to give you the right to run the rpm command.
 
  


Reply


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
installation of rpm shashank Linux - Software 1 04-14-2005 10:15 PM
.rpm installation mi_july Linux - Newbie 1 05-09-2004 07:09 AM
Help with rpm installation rolandi Linux - Newbie 5 11-25-2003 02:41 PM
RPM installation patz Slackware 6 07-24-2003 08:52 PM
RPM installation rheza Slackware 8 04-04-2003 11:45 PM


All times are GMT -5. The time now is 12:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration