LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Install lib in home directory? (https://www.linuxquestions.org/questions/linux-software-2/install-lib-in-home-directory-565596/)

xeon123 06-30-2007 08:09 AM

Install lib in home directory?
 
Hi,

I would like to install a c++ library, but I don't have root permissions. In Linux, it's normal to install the library in his home directory, inside a lib directory or a .lib directory?

I just want to know, what's the most common way to do it, to keep my directory organized.

Thanks,
Pedro

manwichmakesameal 06-30-2007 08:54 AM

If you do ./configure --prefix=~/lib when you configure the build, that should install it to /home/you/lib.

otoomet 06-30-2007 03:52 PM

Depending on the type of library, you may want to add $HOME/lib to your LD_LIBRARY_PATH or LIBRARY_PATH


All times are GMT -5. The time now is 09:45 AM.