举例:
在shell中输入:sudo apt install rpm
接着执行:dpkg -L rpm
显示:
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/rpm
/usr/share/doc/rpm/buildroot
/usr/share/doc/rpm/hregions
/usr/share/doc/rpm/macros.gz
/usr/share/doc/rpm/README.Debian
/usr/share/doc/rpm/dependencies.gz
……
这就是安装目录
apt-get 所下载的用于安装的软件包,在
/var/cache/apt/archives
中。如果执行过 apt-get clean ,那么原始下载的包就找不到了。