FreeBSD: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
 
==get basic information about a package==
 
==get basic information about a package==
 
  pkg info pkgname
 
  pkg info pkgname
 +
==get detailled information about a package==
 +
  pkg info -f pkgname
 +
==list all files contained in an installed package==
 +
pkg info -l pkgname
 +
==find which package provide an installed file==
 +
pkg which /path/to/my/file
 +
==install a local package==
 +
pkg add ./localpkg.txz
 
*https://wiki.freebsd.org/PkgPrimer
 
*https://wiki.freebsd.org/PkgPrimer
 
*https://mebsd.com/make-build-your-freebsd-word/pkgng-first-look-at-freebsds-new-package-manager.html
 
*https://mebsd.com/make-build-your-freebsd-word/pkgng-first-look-at-freebsds-new-package-manager.html

Version vom 28. Januar 2014, 14:58 Uhr

pkgng

get list of installed packages

pkg info

get basic information about a package

pkg info pkgname

get detailled information about a package

 pkg info -f pkgname 

list all files contained in an installed package

pkg info -l pkgname

find which package provide an installed file

pkg which /path/to/my/file 

install a local package

pkg add ./localpkg.txz

bsdinstall

Ports

using ports

install quietly

make install clean BATCH="YES"