[Level 1] How to get the package file list which is installed by apt-get

If you want to get the file list of package which is installed by apt-get.
You can use "dpkg" command,
Ex.
# dpkg -L memcached
/.
/etc
/etc/default
/etc/default/memcached
/etc/init.d
/etc/init.d/memcached
/usr
/usr/share
/usr/share/doc
/usr/share/doc/memcached
/usr/share/doc/memcached/changelog.gz
/usr/share/doc/memcached/NEWS.gz
/usr/share/doc/memcached/README
/usr/share/doc/memcached/protocol.txt.gz
/usr/share/doc/memcached/README.Debian
/usr/share/doc/memcached/copyright
/usr/share/doc/memcached/changelog.Debian.gz
/usr/share/doc/memcached/memory_management.txt.gz
/usr/share/memcached
/usr/share/memcached/scripts
/usr/share/memcached/scripts/start-memcached
/usr/share/memcached/scripts/memcached-tool
/usr/share/memcached/memcached.conf.default
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/memcached.1.gz
/usr/bin
/usr/bin/memcached
/usr/include
/usr/include/memcached
/usr/include/memcached/protocol_binary.h
#


Wish this helps.
regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python