6

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>

and,

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.

sybind
  • 327
  • 1
  • 4
  • 14

2 Answers2

8

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

Alex
  • 7,939
  • 6
  • 38
  • 52
2

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

rorycl
  • 848
  • 1
  • 6
  • 10