How to find location of installed library

Raven

Background: I'm trying to build my program but first I need to set up libraries in netbeans. My project is using GLU and therefore I installed libglu-dev. I didn't note location where the libraries were located and now I can't find them..

I've switched to Linux just a few days ago and so far I'm very content with it, however I couldn't google this one out and becoming frustrated.. Is there way to find out where files of package were installed without running installation again? I mean if I got library xxx and installed it some time ago, is there somecommand xxx that will print this info?

I've already tried locate, find and whereis commands but either I'm missing something or I just can't do it correctly.. for libglu, locate returns:

/usr/share/bug/libglu1-mesa
/usr/share/bug/libglu1-mesa/control
/usr/share/bug/libglu1-mesa/script
/usr/share/doc/libglu1-mesa
/usr/share/doc/libglu1-mesa/changelog.Debian.gz
/usr/share/doc/libglu1-mesa/copyright
/usr/share/lintian/overrides/libglu1-mesa
/var/lib/dpkg/info/libglu1-mesa:i386.list
/var/lib/dpkg/info/libglu1-mesa:i386.md5sums
/var/lib/dpkg/info/libglu1-mesa:i386.postinst
/var/lib/dpkg/info/libglu1-mesa:i386.postrm
/var/lib/dpkg/info/libglu1-mesa:i386.shlibs

Other two commands fail to find anything. Now locate did it's job but I'm sure none of those paths is where the library actually resides (at least everything I was linking so far was in /usr/lib or usr/local/lib).

The libglu was introduced just as example, I'm looking for general solution for this problem.

Jo-Erlend Schinstad

Easy! dpkg -L packagename. That will list all files (with location) that were brought in by the package.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to find location of installed library

From Dev

How to find where a library is installed?

From Dev

How to find the version of installed library in Python?

From Dev

How can i find the location of installed software in linux?

From Dev

where to find the location of an installed package?

From Dev

How to find out if I have gd library or imagemagick installed?

From Dev

How do I find out the version number of an installed library?

From Dev

Xcode cannot find installed library

From Dev

Xcode cannot find installed library

From Dev

how to find out R library location in Mac OSX?

From Dev

How to find OpenVPN is installed or not

From Dev

haxe cannot find csv library installed by haxelib

From Dev

Compiler can't find installed library headers

From Dev

How to view documentation for an installed library?

From Dev

How to remove library installed with CocoaPods?

From Dev

How to view documentation for an installed library?

From Dev

How to check if a shared library is installed?

From Dev

Where can I find the location of folders for installed programs?

From Dev

Where can I find the location of folders for installed programs?

From Dev

Find the location of an installed application to type in the Launch Application window

From Java

How to find the installed pandas version

From Dev

How to find if less is installed on the system?

From Dev

How to find the date Ubuntu was installed?

From Dev

How to find installed Software with PowerShell?

From Dev

How to find the date Ubuntu was installed?

From Dev

How to find the architecture of OS installed

From Dev

How to find if LightSpeed server is installed

From Dev

How to find manually installed packages?

From Dev

How to find all installed applications

Related Related

  1. 1

    How to find location of installed library

  2. 2

    How to find where a library is installed?

  3. 3

    How to find the version of installed library in Python?

  4. 4

    How can i find the location of installed software in linux?

  5. 5

    where to find the location of an installed package?

  6. 6

    How to find out if I have gd library or imagemagick installed?

  7. 7

    How do I find out the version number of an installed library?

  8. 8

    Xcode cannot find installed library

  9. 9

    Xcode cannot find installed library

  10. 10

    how to find out R library location in Mac OSX?

  11. 11

    How to find OpenVPN is installed or not

  12. 12

    haxe cannot find csv library installed by haxelib

  13. 13

    Compiler can't find installed library headers

  14. 14

    How to view documentation for an installed library?

  15. 15

    How to remove library installed with CocoaPods?

  16. 16

    How to view documentation for an installed library?

  17. 17

    How to check if a shared library is installed?

  18. 18

    Where can I find the location of folders for installed programs?

  19. 19

    Where can I find the location of folders for installed programs?

  20. 20

    Find the location of an installed application to type in the Launch Application window

  21. 21

    How to find the installed pandas version

  22. 22

    How to find if less is installed on the system?

  23. 23

    How to find the date Ubuntu was installed?

  24. 24

    How to find installed Software with PowerShell?

  25. 25

    How to find the date Ubuntu was installed?

  26. 26

    How to find the architecture of OS installed

  27. 27

    How to find if LightSpeed server is installed

  28. 28

    How to find manually installed packages?

  29. 29

    How to find all installed applications

HotTag

Archive