To apply binary updates to keep the base system up to date on a FreeBSD 10 system, you can use the freebsd-update
utility.
Here's how to use freebsd-update
to update the base system:
Fetch the update information:
Run the following command to fetch the update information from the update server:
freebsd-update fetch
This will download the latest update metadata and compare it to the currently installed system to determine which updates are available.
Install the updates:
Run the following command to install the updates:
freebsd-update install
This will download and install the updates.
Reboot the system:
After installing the updates, you will need to reboot the system to apply the changes.
Run the following command to reboot the system:
shutdown -r now
That's it! The base system should now be up to date.
You can also use the freebsd-update
utility to update the system to a newer release. To do this, you will need to follow these additional steps:
Install the freebsd-update
port:
The freebsd-update
utility is not installed by default on FreeBSD systems. To install it, you will need to install the freebsd-update
port.
Run the following command to install the freebsd-update
port:
pkg install freebsd-update
Fetch the update information:
Run the following command to fetch the update information from the update server:
freebsd-update fetch