27

I ran the following command successfully

dpkg -i library.deb

Where can I find where this file was installed?

3 Answers3

30

If you are asking where the deb package goes: /var/cache/apt/archives.

If you are asking where the files in the deb package get installed to, then do:

dpkg -L library
14
dpkg -L <package name>

(Although, since this isn't a programming related question, it should go on superuser.com or linux.stackexchange.com instead of here.)

Bhuvan
  • 161
Josh Kelley
  • 1,615
2

Some of the answers have clarified to use dpkg -L library. It is not clear what to specify for "dpkg -L"; package name or deb file name.

Let me consolidate the answer.

  1. Find out the package name from the .deb file

    dpkg --info library.deb

  2. Use the package name found above

    dpkg -L <package name>

Bhuvan
  • 161