系统默认安装的软件和命令无法查看,这时候我们需要安装 apt-file 命令工具,该命令可以查看使用APT作为软件包管理器的系统deb文件的内容。
安装apt-file
- #apt-get update && apt-get install apt-file
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libapt-pkg-perl libconfig-file-perl liblist-moreutils-perl menu
Suggested packages:
gksu kdebase-bin kdebase-runtime ktsuss sux
The following NEW packages will be installed:
apt-file libapt-pkg-perl libconfig-file-perl liblist-moreutils-perl menu
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 626kB of archives.
After this operation, 2687kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.kernel.org lenny/main libconfig-file-perl 1.42-1 [11.7kB]
Get:2 http://mirrors.kernel.org lenny/main libapt-pkg-perl 0.1.22+b1 [89.6kB]
Get:3 http://mirrors.