Tuesday, February 28, 2012

Find what apt-get installs

Some packages install programs whose names are not obvious, such as air-crack and some put files in non-obvious locations such as apache2.
After installing, you can determine what files are installed and where with the following command:
dpkg -L <packagename>


tward $ sudo dpkg -L afflib-tools | head -5
/.
/usr
/usr/bin
/usr/bin/afcat
/usr/bin/afcompare