install libraries
Hello,
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 |
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. |
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).
|
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 ! |
All times are GMT -5. The time now is 08:13 PM. |