Results 1 to 6 of 6
Where does "make install" install the files to?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-06-2005 #1Linux Newbie
- Join Date
- Oct 2004
- Posts
- 139
"make install" question
Where does "make install" install the files to?
- 04-06-2005 #2
Depends on wich program you're compiling. There may be a indication in yor Makefile, $INSTALLDIR can for example be the name of a variable that sets the directory where you install.
Many programs accept the installation directory to be changed by adding a flag when running ./compile, for example:
if you want to install it in /usr (or actually /usr/bin or /usr/sbin).Code:./compile --prefix=/usr
- 04-06-2005 #3Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
Never seen any compile-scripts with the sourcecode, but I have seen the same option on a configure-script...
- 04-06-2005 #4sorry, ofcourse it should be:
Originally Posted by jaboua
Code:./configure --prefix=/usr
- 04-07-2005 #5Linux Newbie
- Join Date
- Oct 2004
- Posts
- 139
What do I do if the source code doesn't have a "configure" script?
- 04-07-2005 #6
usually there's a configure script, but if not, there's usually an install script.
Most souce packages come with an INSTALL or README file that tell u what u need to do.
"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327


Reply With Quote
