22
0
Fork 0

ajout dpkg cmd

This commit is contained in:
pdiogoantunes 2017-03-15 16:29:37 +01:00
parent a6c9de7bf4
commit eb31d9721f
1 changed files with 20 additions and 0 deletions

View File

@ -136,3 +136,23 @@ Avec un _strace lintian_ vous obtiendrez peut-être :
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f09117029d0) = -1 ENOMEM (Cannot allocate memory)
~~~
## Savoir si un package est installé
~~~
# apt-cache search php | grep apc
php-apc - APC User Cache for PHP 5 (transitional package)
php5-apcu - APC User Cache for PHP 5
# dpkg -l php-apc | grep ^ii
~~~
## Savoir la hiérarchie des fichiers créés suite installation d'un package
~~~
# dpkg -L php-apc
/.
/usr
/usr/lib
/usr/lib/php5
/usr/lib/php5/20090626
...
~~~