Extract package .deb to $temp/
Target for this example is apache2, or "what were the defaults?"
Below /path/to/temp/ is
remove all but etc, so
and there they are!
Get some!
Code:
mkdir -pv /path/to/temp/ dpkg-deb -x /var/cache/apt/archives/apache2_2.4.18-2ubuntu3.4_amd64.deb /path/to/temp/
Code:
/path/to/temp/etc/ /path/to/temp/lib/ /path/to/temp/usr/ /path/to/temp/var/
Code:
rm -fr /path/to/temp/{lib,usr,var}
Code:
/path/to/temp/etc/apache2/sites-available/000-default.conf /path/to/temp/etc/apache2/apache2.conf