Installing program from source.
Hello.
For Installing program from source "/usr/local" is good or "/usr/local/src" ? Thank you. |
No <options> : Programs will often by default install to /usr/local/.
/usr/local/src/ : Is never used. ( For anything.) |
if you are not going to provide any information !
there is not much we can do . is it a "autotools" build ? is it a "cmake" build ? is it a "q-make" build ? is it a "Makefile" build ? for a Autotools build read the configure "help" output Code:
./configure --help |
Quote:
Self written apps go into /usr/local for debug versions and testing. Once satisfied, I'll recompile, use the optimization flags, and drop it in /usr. That way, I know where the production runs are, and where the debug versions are. |
No, It just a program from source code. For example, You want to install pidgin from source code. The better place is ".../src/" or ".../local" ?
|
Quote:
BUT it REALLY depends on your operating system and HOW !!! YOU !!! set it up i build a LOT of programs but i keep them OUT!!!! of the default OS directory tree i use a second tree for all the programs i build ( this way if i FUBAR the OS i can reinstall the os EASILY ) so is set my build path to "/DATA/SUSE " Code:
./configure --prefix=/DATA/SUSE /DATA/SUSE/bin /DATA/SUSE/lib64 /DATA/SUSE/include /DATA/SUSE/share some people like where Libreoffice installs /opt/LibreOffice some LIKE to use the "local" this dates back to server / terminal of the 70's ,80's and early 90's where the local directory WAS on your desk and "/" was on a server someplace use what you want but you might WANT to stay consistent and use that ALL the time |
If you want to be technical about it,... If you are installing programs manually, you should probably be installing them to /opt ... The /opt directory is supposed to be the place where software that is not part of the OS's standard installation is supposed to be done...
Then again,... nobody keeps to standards anymore (or never really did, for that matter)... |
So, What is the purpose of "src" directory?
|
Quote:
Code:
man hier Quote:
EDIT: cleaned up text |
All times are GMT -5. The time now is 10:31 AM. |