LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [Debian/Ubuntu] List files in uninstalled package? (https://www.linuxquestions.org/questions/linux-software-2/%5Bdebian-ubuntu%5D-list-files-in-uninstalled-package-869128/)

littlebigman 03-17-2011 06:12 AM

[Debian/Ubuntu] List files in uninstalled package?
 
Hello

Before installing a package, I want to know which files it contains.

"apt-file list mypackage" list all the files contained by all the packages that have "mypackage" in their name.

Is there a way to only list the files for a specific package and ignore the others?

Thank you.

littlebigman 03-17-2011 06:28 AM

Found a work-around:

# apt-file list mypackage | grep "^mypackage:"


All times are GMT -5. The time now is 06:09 AM.