LinuxQuestions.org
Help answer threads with 0 replies.
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 10-21-2005, 09:05 PM   #1
Linuxuser_81
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Rep: Reputation: 0
Question specifying installation directory in RPM ?


Hi

I am an Linux Newbie..


is there anyway I can specify installation directory in LINUX. ??

I find that if I give
#rpm -ivv <packagename.rpm>
, rpm chooses its own directory and installs it.. I want it to be installed in directory that I specify..

Thanks for your time.

MJ
 
Old 10-21-2005, 09:55 PM   #2
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
From the RPM man page:
Quote:
--prefix NEWPATH
For relocateable binary packages, translate all file paths that start with the installation prefix in the package relocation hint(s) to NEWPATH.
Of course, not all packages are relocatable, so this will not work with every RPM.
 
  


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
Changing rpm Build directory veenanaidu Fedora 3 10-05-2006 03:18 PM
RPM install directory? blizunt7 Linux - Newbie 2 04-02-2004 03:55 PM
rpm install to home directory gbanks Linux - General 3 07-12-2003 12:23 AM
Install RPM directory yenonn Linux - Software 1 06-30-2003 10:08 PM
rpm --rebuild: No such file or directory Halz Linux - Software 8 10-25-2001 06:32 AM


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