LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


[SIZE="2"][/SIZE]

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, 01:40 PM   #2
Fikus
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.
 
  


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


All times are GMT -5. The time now is 09:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration