Searching for package information on Debian and Ubuntu systems
Posted by: Anonymous
[ip: 84.14.5.193]
on October 29, 2008 09:09 AM
You really want to look further into aptitude manual, which has a very powerful search feature...
You also forgot to mention apt-file, which can perform search on the content packages which are not currently installed.
I personally use a combination of :
- "aptitude search" to find information about packages (description, dependencies, installation status)
- "dpkg -S <file>" to find out which package a particular file belongs to
- "dpkg -L <package>" to find out which files a package contains
- as dpkg only queries installed package, is use "apt-file find <file>" and "apt-file list <package>" as a last resort. apt-file works on the full database of packages, installed or not...and it supports regexp as well. The only drawback being it is generally much slower than its counterparts...
Searching for package information on Debian and Ubuntu systems
Posted by: Anonymous [ip: 84.14.5.193] on October 29, 2008 09:09 AMYou also forgot to mention apt-file, which can perform search on the content packages which are not currently installed.
I personally use a combination of :
- "aptitude search" to find information about packages (description, dependencies, installation status)
- "dpkg -S <file>" to find out which package a particular file belongs to
- "dpkg -L <package>" to find out which files a package contains
- as dpkg only queries installed package, is use "apt-file find <file>" and "apt-file list <package>" as a last resort. apt-file works on the full database of packages, installed or not...and it supports regexp as well. The only drawback being it is generally much slower than its counterparts...
#