Automatic bootstrapping of pkg(7) in FreeBSD

Since FreeBSD 10.0 pkgng becomes new default packaging management system. To start using it you need to run /usr/sbin/pkg boostrap command that will fetch and install the whole new packaging system. It will politely ask you if you are sure to proceed.
The problem is when you want to automate your install you are hold by that interactive question.

Continue Reading