LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiling and,installing from source: What next? (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-and-installing-from-source-what-next-183637/)

arubin 05-20-2004 05:46 AM

Compiling and,installing from source: What next?
 
So I unpack the tar file
run
./confgure
make
make install

The program is working Ok

Two questions:

Can I now delete the source directory where I did the compile?

According to the LFS book 'Most programs and librarues are by default, compiled with debugging symbols included'

Is this an issue? Will my program files be much larger than they need be? Should they be stripped?

Thanks

jmorse 05-22-2004 09:04 AM

Once 'make install' has been run, anything the program needs is moved from the source directory to /usr/local/, or somewhere simliar. You can now delete the source directory. You may however want to keep it as a 'make uninstall' can remove the program [Some developers don't add 'uninstall' to their Makefile, so it doesn't always work]

Programs an libraries are built with debugging symbols, its probably possible to set an environmental variable to stop it. If disk space is an issue, by all means run 'strip'. [Backup before running strip, just in case it runs off with some vital part of the program!]

arubin 05-22-2004 04:19 PM

Presumably the strip comes between the make and the make install?

macskeeball 05-22-2004 06:03 PM

www.ee.surrey.ac.uk/Teaching/Unix/unix7.html

arubin 05-22-2004 06:35 PM

Thanks macskeeball


All times are GMT -5. The time now is 01:57 AM.