LinuxQuestions.org
Review your favorite Linux distribution.
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 02-22-2010, 12:55 PM   #1
Geraldsmod
Member
 
Registered: Sep 2009
Posts: 46

Rep: Reputation: 16
Installing software to different path (using make)


Hi, I am using an unpopular distribution called Dragora that uses 100% free software, and to install anything, I have to compile from source.

My question is, how can I do a "make install" but have the output files (binary files, man pages, etc.) install to a different directory?

I have a 350GB partition always mounted on "/mnt/shared/"
I want my Linux partition to only hold the OS files. Nothing more.
"make install" needs to install the files to "/mnt/shared/Linux/"

I know this is possible, I just don't know how to do it.

Please help. It would be greatly appreciated.
 
Old 02-22-2010, 01:09 PM   #2
Geraldsmod
Member
 
Registered: Sep 2009
Posts: 46

Original Poster
Rep: Reputation: 16
Never mind.
It can be done by typing: "make install DESTDIR=/mnt/shared/Linux"
 
  


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
installing software with wine/crossover: It doesn't "understand" the path manosagn Linux - Newbie 1 10-02-2007 08:50 PM
Do you add to the path line or make a new path in /etc/profile? M$ISBS Linux - Newbie 2 12-13-2006 02:14 PM
How do I make sure something is in right path? Ken1015 Linux - Newbie 3 09-03-2005 09:02 PM
installing software from source, make uninstall question darkleaf Linux - Software 2 08-19-2004 04:18 PM
How do I make path? akihandyman Linux - Newbie 1 12-25-2003 01:29 PM

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

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