LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New program installation into the Library folder (https://www.linuxquestions.org/questions/linux-newbie-8/new-program-installation-into-the-library-folder-933912/)

Sherrie 03-11-2012 12:46 PM

New program installation into the Library folder
 
[SIZE="2"][/SIZE]

Hi Guys,

Basic information needed, I guess it's basic anyway.:eek: 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?

Fikus 03-12-2012 12:40 PM

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.


All times are GMT -5. The time now is 11:49 AM.