Skip to content

Instantly share code, notes, and snippets.

@grahamperrin
Last active October 9, 2025 23:32
Show Gist options
  • Select an option

  • Save grahamperrin/7a72a9c8eeedca80c266e279f057b47a to your computer and use it in GitHub Desktop.

Select an option

Save grahamperrin/7a72a9c8eeedca80c266e279f057b47a to your computer and use it in GitHub Desktop.
FreeBSD Installer: using the installer's offline packages

FreeBSD Installer: using the installer's offline packages

The rough guide below is for:

  • FreeBSD-15.0-ALPHA5-amd64-20251004-1c0898edf28f-280541-dvd1.iso

After a minimimal installation of FreeBSD

Before first boot:

  1. open a shell in the new system
  2. Alt-F4 to step away from the live system
  3. pkg --rootdir /mnt add /usr/freebsd-packages/offline/FreeBSD-bsdconfig-15.0.a5.20251004102635.pkg
  4. pkg --rootdir /mnt add /usr/freebsd-packages/offline/FreeBSD-csh-15.0.a5.20251004102635.pkg
  5. pkg --rootdir /mnt add /usr/freebsd-packages/offline/FreeBSD-ee-15.0.a5.20251004102635.pkg
  6. Alt-F1 to step back to the live system
  7. /bin/tcsh
  8. ee /etc/pkg/FreeBSD.conf
  9. add a repository configuration (the four lines below), save the file
  10. pkg update --repository freebsd-installer-nonbase
  11. pkg install --quiet --yes -r freebsd-installer-nonbase kde plasma6-sddm-kcm sddm xorg
  12. similarly, install other packages that may be required for your computer
  13. service dbus enable && service sddm enable
  14. exit
  15. exit
  16. reboot, shutdown, or revisit the live system.

The repository configuration

freebsd-installer-nonbase {
  url = "file:///dist/packages/${ABI}"
  enabled = yes
}
@grahamperrin
Copy link
Author

grahamperrin commented Oct 2, 2025

A minimal installation of FreeBSD no longer includes things such as:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment