J'ai installé Unrealircd
sur FreeBSD via l'utilitaire sysinstall
.
Je n'arrive pas à find l'location où il a été installé.
Comment puis-je find l'location par défaut des packages installés?
Edit: J'ai trouvé le package avec l'utilitaire find
. Mais en général, comment savoir où sysinstall
mettrait le package après l'installation?
Vous pouvez find ces informations dans / var / db / pkg / PKG_NAME / + CONTENTS:
/var/db/pkg/wget-1.12_2# head +CONTENTS @comment PKG_FORMAT_REVISION:1.1 @name wget-1.12_2 @comment ORIGIN:ftp/wget @cwd /usr/local @pkgdep libiconv-1.13.1_1 @comment DEPORIGIN:converters/libiconv @pkgdep gettext-0.18.1.1 @comment DEPORIGIN:devel/gettext man/man1/wget.1.gz
C'est effectivement la même chose que rpm -ql 'RPM_NAME' sur linux
Pour find le package auquel un file appartient, vous pouvez utiliser la command suivante:
pkg_info -W /full/path/to/file
Pour voir la list des files installés par un package:
pkg_info -L packagename