LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-30-2007, 08:09 AM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 374

Rep: Reputation: 16
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
 
Old 06-30-2007, 08:54 AM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
If you do ./configure --prefix=~/lib when you configure the build, that should install it to /home/you/lib.
 
Old 06-30-2007, 03:52 PM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install to home directory. gloomz Linux - General 2 03-07-2007 12:24 PM
Lib/Include in user home directory? pocket_aces Linux - Desktop 2 11-08-2006 10:09 AM
How to install programs in my home directory? cumbersome Linux - Software 15 06-26-2006 04:11 AM
Does a new install of 10.0 destroy my /home directory? rwhitworth SUSE / openSUSE 3 10-24-2005 03:55 PM
rpm install to home directory gbanks Linux - General 3 07-11-2003 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration