FreeBSD 9.1 and later includes a "bootstrap" utility for pkgng. The bootstrap utility will download and install pkgng.
To bootstrap the system, run:For earlier FreeBSD versions, pkgng must be installed from the Ports Collection, or as a binary package.复制代码
- # /usr/sbin/pkg
To install the pkgng port, run:To install the binary package, run:复制代码
- # cd /usr/ports/ports-mgmt/pkg
- # make
- # make install clean
复制代码
- # pkg_add -r pkg
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |