How to sideload FreeBSD packages

Started by NorbertK, June 07, 2024, 10:13:36 AM

Previous topic - Next topic
To install packages  from the FreeBSD universe to your opnsense box the script from this quite verbous medium article works.
https://medium.com/@mihakralj/the-direct-route-installing-freebsd-packages-on-opnsense-d002ac0c56b8

It can be used like this:

./opnsense_sideload.sh  <packagename>


I attached the script for convenience, make shure it has LF as Linfeed.

HTH
Norbert
Kind regards and thanks !

Norbert

Thanks for sharing.

The process is still prone to the same issues. If you must just edit

/usr/local/etc/pkg/repos/FreeBSD.conf

And set "enabled: yes"

Do your pkg install and then change it back.

And to repeat, the same problems will exist with pulling in bad dependencies, newer versions, incompatible package managers, etc. This is unavoidable.


Cheers,
Franco

Much simpler indeed. And of course you are right about the possible consequences.
Kind regards and thanks !

Norbert