Note for installing things without root access in Linux

Useful Environment Variables:

for gcc compiling

LD_LIBRARY_PATH specifies the directories to look for libraries in the run time

LIBRARY_PATH specifies the directories to look for libraries during the linking time

CPATH specifies the directories to look for header files during compiling time (just like -I)

To be continued…

Advertisements