Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-21-2005, 08:05 PM   #1
LQ Newbie
Registered: Sep 2005
Posts: 8

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


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.

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

Rep: Reputation: 31
From the RPM man page:
--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.


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

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