Results 1 to 2 of 2
when you are compiling software from the source code, whats the difference when you do
make
compared to
make install
Figured you folks always enjoy answering an easy one...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-17-2003 #1Just Joined!
- Join Date
- May 2003
- Posts
- 67
Newb question....easy one
when you are compiling software from the source code, whats the difference when you do
make
compared to
make install
Figured you folks always enjoy answering an easy one
- 07-17-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Just "make" compiles the code. "make install" actually installs it. Of course, technically, you can run "make install" directly, since the install target in the Makefile requires the sources to have been built, and therefore that will be done as well. However, if you're doing development on the program, that can cause a lot of trouble for you, since you will have all intermediate files created with UID = root, which means that you can't recompile as the normal user.


Reply With Quote
