LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-17-2011, 06:12 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Posts: 587

Rep: Reputation: 33
Question [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.
 
Old 03-17-2011, 06:28 AM   #2
littlebigman
Member
 
Registered: Aug 2008
Posts: 587

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

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


Reply


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 04:14 PM
Is there a way I can create a package from a list of files? Romanus81 Slackware 3 12-25-2008 12:06 PM
How to list only files belong to a package linuxcrazyguy Debian 4 04-08-2007 08:02 PM
List files in a package before installing? humbletech99 Debian 3 06-02-2006 04:35 AM
List the files installed by a RPM package s_deepak_123 Linux - General 6 02-20-2006 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 PM.

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