Contact me sending an e-mail (antispam defense activated) |
Title: Pkgs - File contenuti in un pacchetto installato Author: Sandro Tosi Last modified: 2006-12-08 Per avere la lista dei file che un pacchetto (installato) contiene, il comando da utilizzare e` il seguente: # dpkg -L <nome_pacchetto> Per esempio: # dpkg -L libgcc1 /. /usr /usr/share /usr/share/doc /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/libgcc1 /lib /lib/libgcc_s.so.1 /usr/share/doc/libgcc1 Lo stesso output lo si ottiene eseguendo il comando # dpkg --listfiles <nome_pacchetto> E` anche possibile cercare i file, tra quelli installati, che rispettano un certo pattern, con il comando: # dpkg -S <pattern> per esempio: # dpkg -S checkgmail checkgmail: /usr/bin/checkgmail checkgmail: /usr/share/doc/checkgmail/Readme checkgmail: /usr/share/doc/checkgmail/copyright checkgmail: /usr/share/doc/checkgmail/todo checkgmail: /usr/share/man/man1/checkgmail.1.gz checkgmail: /usr/share/doc/checkgmail/changelog.Debian.gz checkgmail: /usr/share/doc/checkgmail/changelog.gz checkgmail: /usr/share/doc/checkgmail mentre con il precedente comando avremmo: # dpkg -L checkgmail /. /usr /usr/bin /usr/bin/checkgmail /usr/share /usr/share/man /usr/share/man/man1 /usr/share/man/man1/checkgmail.1.gz /usr/share/doc /usr/share/doc/checkgmail /usr/share/doc/checkgmail/changelog.gz /usr/share/doc/checkgmail/Readme /usr/share/doc/checkgmail/todo /usr/share/doc/checkgmail/copyright /usr/share/doc/checkgmail/changelog.Debian.gz |