I installed a package with apt-get, and now I need to locate where these files have been placed.

I tried:

sudo apt-cache show <package>


sudo find / -name <package>

but it did not reveal anything useful.

Whats a good command or method to find the files belonging to a specific package I installed? I'm using Ubuntu 10.x.


dpkg -L package_name lists all files belonging to a package package_name

| improve this answer | |

Incidentally, Debian also provides apt-file which can do the same as dpkg -L for remote files.

| improve this answer | |

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.