I ran the following command successfully

dpkg -i library.deb

Where can I find where this file was installed?


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.deb
  • 1
    That's right. dpkg -L shows the list of files if the package is installed. To examinate it before install use dpkg --contents library.deb – andrade Jan 31 '13 at 19:01
  • 1
    dpkg -L takes the package name, not the deb file name. So should be dpkg -L library – UpTheCreek Nov 12 '20 at 15:28
  • to get the package name run dpkg --info library.deb it will show next to "Package:" – Omar Apr 13 at 16:29
dpkg -L library

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.