Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-11-2012, 12:46 PM   #1
LQ Newbie
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy New program installation into the Library folder


Hi Guys,

Basic information needed, I guess it's basic anyway. In Linux, all libraries are located in the /lib folder right? In Windows the /system32 folder holds the libraries. What happens when you install a new program into both of these machines?
Old 03-12-2012, 12:40 PM   #2
LQ Newbie
Registered: Jan 2008
Location: Zagreb, Croatia
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Actually in linux you do things differently than in windows.
You have a set of libraries in /usr/lib which are a set of c functions and are used to COMPILE binaries using a compiler.
When you build a binary (linux equivalent of .exe) you can put it anywhere as long as "anywhere" is in your $PATH (it doesn't have to be, but let's call it "installed" if it is) and it has to have executable permissions (the binary, not the library).
Google "gcc" or if you have access to a unix machine type man gcc, it should clarify libraries.
I'm actually not really sure I understood the question completely so please elaborate if you need further explanation.


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
installing missing library in /home folder without root dlugasx Linux - Software 1 05-29-2011 06:38 AM
[SOLVED] Create a Softlink to Move some Library Folder ethereal1m Linux - Newbie 5 12-15-2010 01:16 AM
library into program dimah Programming 7 11-05-2006 07:56 AM
How to change the library used by a program. wangjinyi Fedora 1 11-23-2005 10:31 AM
include a library in program calble Programming 1 10-09-2003 12:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:20 PM.

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