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
dpkg -L
shows the list of files if the package is installed. To examinate it before install use dpkg --contents library.deb
dpkg -L library
Nov 12, 2020 at 15:28
dpkg --info library.deb
it will show next to "Package:"
dpkg --info library.deb
- it can be declared as dpkg -I library.deb
too
Nov 18, 2022 at 14:29
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.)
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.
Find out the package name from the .deb file
dpkg --info library.deb
Use the package name found above
dpkg -L <package name>