How to find which files comes with a Ubuntu package


apt-get install dlocate
dlocate -L <name_of_the_package>

ex:
dlocate -L sysstat
/.
/usr
/usr/lib
/usr/lib/sysstat
/usr/lib/sysstat/sa1
/usr/lib/sysstat/sa2
/usr/lib/sysstat/sadc
/usr/lib/sysstat/debian-sa1
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mpstat.1.gz
/usr/share/man/man1/pidstat.1.gz
/usr/share/man/man1/sar.sysstat.1.gz
/usr/share/man/man1/sadf.1.gz
/usr/share/man/man1/iostat.1.gz
/usr/share/man/man8
/usr/share/man/man8/sa2.8.gz
/usr/share/man/man8/sa1.8.gz
/usr/share/man/man8/sadc.8.gz
/usr/share/doc
/usr/share/doc/sysstat
/usr/share/doc/sysstat/NEWS.Debian.gz
/usr/share/doc/sysstat/changelog.gz
/usr/share/doc/sysstat/README.gz
/usr/share/doc/sysstat/FAQ.gz
/usr/share/doc/sysstat/TODO
/usr/share/doc/sysstat/xml
/usr/share/doc/sysstat/xml/sysstat.dtd.gz
/usr/share/doc/sysstat/xml/sysstat.xsd.gz
/usr/share/doc/sysstat/README.Debian
/usr/share/doc/sysstat/copyright
/usr/share/doc/sysstat/examples
/usr/share/doc/sysstat/examples/crontab
/usr/share/doc/sysstat/changelog.Debian.gz
/usr/share/doc/sysstat/CREDITS.gz
/usr/share/doc-base
/usr/share/doc-base/sysstat-faq
/usr/bin
/usr/bin/sadf
/usr/bin/iostat
/usr/bin/mpstat
/usr/bin/pidstat
/usr/bin/sar.sysstat
/var
/var/log
/var/log/sysstat
/etc
/etc/sysstat
/etc/sysstat/sysstat.ioconf
/etc/sysstat/sysstat
/etc/init.d
/etc/init.d/sysstat
/etc/cron.daily
/etc/cron.daily/sysstat
/etc/cron.d
/etc/cron.d/sysstat


Leave a Reply

Your email address will not be published.