My OS is Ubuntu 14.04. I have done: sudo apt-get install haskell-platform-doc

But I cannot find the corresponding documentation files.

Where could I find them ? Or is there a command to launch so as to find where the .deb package has put them in my file system ?

Is there a way to locate them. After reboot locate didn't helped me that much.

2 Answers 2


dpkg -L haskell-platform-doc will list the files installed by that package for you. However, this is a meta package, it does not install much content itself, but pulls in other documentation packages as dependencies. So issue dpkg-query -f'${Depends}' -W haskell-platform-doc to find the dependencies, and use dpkg -L with those. You should expect /usr/share/doc/libghc-*-doc/html/index.html and similar files, which you can view with a web browser (with file:/// URLs).


given a package package-filename.deb file, this command lists the installed files with their location:

dpkg --contents package-filename.deb
  • The location listed is relative to the deb file itself and not an absolute path to where on the systems those files have been/will be installed.
    – pseudosudo
    Commented May 13, 2022 at 13:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .