Dec 062013

Sometimes you want to do things alone. Or rather, without intervention. Unattended. Bootstrapping the pkgng package management tool is one of those things.

From the pkgng documentation, “FreeBSD 9.1 and later includes a bootstrap utility which can be used to download and install pkgng, along with its manual pages”.

Let me show you how that goes:

# pkg
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]:

Oh. There’s that question.

But thanks to mat_ and brd\, I have a solution:

env ASSUME_ALWAYS_YES=YES pkg bootstrap

With this, I can create an ezjail flavour which will install pkg upon first start up.

Website Pin Facebook Twitter Myspace Friendfeed Technorati Digg Google StumbleUpon Premium Responsive