Help answer threads with 0 replies.
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 08-29-2008, 10:12 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
install libraries


I would like to ask know how to install a library, or well a shared library, in linux, fedora 8

I have to install a software in linux but first I need to intall the library. I have both of them in my usb memory, and they are compressed *.tar.gz

-Where should I intall the library, in usr/lib?????

-if so, how can I copy from my usb memory stick to the usr/lib folder??

-after uncompressed which command should I use to install the library

the software I , luckily, can do it by myself because there is a tutorial that shows you step by step but not the instalation of the library

If somebody can help me I would really appreciate it.

A newbie
Old 08-29-2008, 10:34 AM   #2
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Simply do:

$ tar zvxf /path/file.tar.gz

This will produce a subdirectory in the same directory the file is in. Then cd subdirectory. Then ./configure; make; make install (last step as root unless installing in your own area). If you want to put it in a specific directory: ./configure --prefix=/path/specificDirectory.

If you get trouble read ./configure --help. Often ./configure PKG_CONFIG_PATH=/path/to/fileItCan'tFind.pc (just the path, not the .pc filename).

Vis moving the file: just drag and drop in a file manager such as nautilus. Better still use 'mc'. Or 'cp /file/on/flash /where/it/wants/to/be.

Last edited by lugoteehalt; 08-29-2008 at 10:37 AM.
Old 08-29-2008, 01:05 PM   #3
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Basically, if you're building it from source, then the same way as building anything else from source (usually "./configure", "make", "make install", but you should read the instructions).
Old 08-30-2008, 02:27 AM   #4
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,737

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Welcome to Linux Questions.

Fedora 8 : There is an easier way for most
packages : Open a terminal window and type
su ... and next : yum install <package.rpm>

Replace <package..> with your actual demand.
And "yum" will download and install the
package and the needed libraries.

Good Luck !


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 do I install tcl libraries pppaaarrrkkk Fedora - Installation 9 08-14-2008 09:57 PM
How do I install libraries without apt-get? jeremic Linux - Newbie 6 03-17-2007 06:35 PM
What to type in apt-get install to install mysql PHP libraries sarajevo Debian 1 09-29-2005 06:40 AM
Proper way to install libraries? GNUROCKS Linux - Newbie 1 06-04-2005 08:58 PM
how do I install new libraries? salviadud Linux - Newbie 3 02-16-2005 01:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 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