Use dpkg to find out the files and directories created by a package at the time of install

Whenever we install an application, it automatically creates a lot of files and directories on our system related to it. For debian systems, we can use the dpkg tool to find out all the files created and added by an application at the time of install.

Run dpkg with "-L" option to print out the files and directories:

[shredder12]$ dpkg -L gnome-terminal

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <p> <br>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.