littlebigman
September 26th, 2011, 01:30 PM
Hello
I sometimes need to check which files will be installed by a package that I haven't installed yet.
I thought the following would to the trick...
apt-get install apt-file
apt-file update
apt-file show mypackage
... but it returns all occurences that contain "mypackage".
Is there a simpler way than downloading the package, and grepping through it?
apt-get -d install mypackage
ls -al /var/cache/apt/archives/ | grep mypackage
Thank you.
I sometimes need to check which files will be installed by a package that I haven't installed yet.
I thought the following would to the trick...
apt-get install apt-file
apt-file update
apt-file show mypackage
... but it returns all occurences that contain "mypackage".
Is there a simpler way than downloading the package, and grepping through it?
apt-get -d install mypackage
ls -al /var/cache/apt/archives/ | grep mypackage
Thank you.