Categories
Unix & Linux

How to migrate from pkg_ tools to pkg on FreeBSD

As you can read on FreeBSD Wiki:

Pkg is the Next Generation package management tool for FreeBSD. It is the replacement for the current pkg_info/pkg_create/pkg_add tools that ports use to register local packages and which provide remote packages. Its main goals are to faciliate remote binary package upgrades. It also works with ports without remote binary packages.

Categories
Unix & Linux

How to update ports on FreeBSD with portmaster or portupgrade

First, you should get a fresh copy of ports tree. I can recommend portsnap. If you are running portsnap for the first time, extract the snapshot into /usr/ports: