back to the beginning

FreeBSD 12.0 Updating

Last updated: 2019-02-24

Security updates

freebsd-update fetch
freebsd-update install
shutdown -r now

Staying more up to date

Get the freshest ports

You can receive newer or quarterly packages.

Updating packages

Handbook pkg upgrade

Updating kernel

Handbook updating source
Handbook building kernel
  1. Setup
  2. Prevent autocleaning between builds. Add to /etc/src.conf


    Set default kernel. Add to /etc/make.conf

  3. Get kernel sources
  4. pkg install ca_root_nss
    mkdir /usr/src
    svnlite checkout /usr/src

    Future updates only need

    svnlite update /usr/src
  5. Create and/or edit configuration
  6. cd /usr/src/sys/amd64/conf
  7. Build kernel
  8. cd /usr/src
    make buildkernel
  9. Install kernel
  10. make installkernel


Updating ports

Get ports sources

mkdir /usr/ports
svnlite checkout /usr/ports

future updates only need

svnlite update /usr/ports

back to the beginning

Something need fixing? Contact me: