Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

apt-cache search returns list of available packages. In my case I would like to look at the list of files that would be installed on my PC in case I install the package usb-creator-gtk.

Something like dpkg-query -L does for an already installed package.

Thanks for help.

share|improve this question
up vote 4 down vote accepted

You've got at least these two options.

First one, use apt-file for packages you haven't installed yet.

$ sudo apt-get install apt-file
$ sudo apt-file update
$ apt-file list usb-creator-gtk
usb-creator-gtk: /usr/bin/usb-creator-gtk
usb-creator-gtk: /usr/lib/python2.7/dist-packages/usbcreator/frontends/gtk/
usb-creator-gtk: /usr/lib/python2.7/dist-packages/usbcreator/frontends/gtk/

Second one, use the website to locate the packge, then all the way down on the page in the "Download" section, you'll find a link [list of files]. Example for your package is here.

Either way, please remember that packages might install more files in their install scripts!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.