To list files that will be installed by a debian package (.deb
) which is not currently installed on your system
# Ubuntu 15.04+
apt download <packagename>
# Earlier versions of Ubuntu
apt-get --download <package name>
To list files that will be installed by a debian package (.deb
) which is not currently installed on your system
# Ubuntu 15.04+
apt download <packagename>
# Earlier versions of Ubuntu
apt-get --download <package name>
dpkg -L <package name>
Example:
$ dpkg -L apache2
/.
/usr
/usr/share