Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-17-2011, 05:12 AM   #1
Registered: Aug 2008
Location: France
Posts: 660

Rep: Reputation: 35
Question [Debian/Ubuntu] List files in uninstalled package?


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.
Old 03-17-2011, 05:28 AM   #2
Registered: Aug 2008
Location: France
Posts: 660

Original Poster
Rep: Reputation: 35
Found a work-around:

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
list installed package files and how to know which package a file belongs bujecas Slackware 3 01-09-2010 03:14 PM
Is there a way I can create a package from a list of files? Romanus81 Slackware 3 12-25-2008 11:06 AM
How to list only files belong to a package linuxcrazyguy Debian 4 04-08-2007 07:02 PM
List files in a package before installing? humbletech99 Debian 3 06-02-2006 03:35 AM
List the files installed by a RPM package s_deepak_123 Linux - General 6 02-20-2006 12:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration