Celeb Glow
news | March 30, 2026

Location of the .so files

I am trying to install deb package which contains .h, .so and .a files. After installing the deb package I am unable to find the installed location.

I checked /usr/lib, /usr/local/lib and /lib. I am supposed to install the .so and .a files in /usr/lib from deb package. To solve my problem, I copied the .a files from the extracted .deb to /usr/lib but the .so files are not copying. Please help to solve this problem.

2 Answers

Check out apt-file.

apt-file search horst.so

See documentation at wiki.debian.org

To find which files were installed by a package, use dpkg -L:

dpkg -L $package

if you have the package as a .deb file locally, you can run dpkg on it:

 dpkg --contents $package.deb

So you can find where .so file is located

16

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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