Adding FreeBSD packages
With the move to PBIs I see that the older FreeBSD package system has been removed. We can no longer use pkg_add.
I assume we should now use pbi_add but there isn't a PBI repo configured so where should we point it? I have used PC-BSD 10s repo but it's 64bit only which is limiting, for me at least, and PBIs from there don't really seem to install 100% correctly. Unsurprising since they're not built for pfSense.
Personally I needed to install flashrom for a BIOS update but this must apply in many situations.
Any comments on this would be appreciated.
cmb last edited by
That's actually the move to pkgng in FreeBSD 10, unrelated to PBIs. The old pkg_* tools are gone in 10. If you run just "pkg", it'll prompt to install the remainder of pkgng, after which you can "pkg install" instead lf "pkg_add -r".
Steve knows what he's doing, but a warning to others: be very careful if you touch pkg, it's quite possible to break things and/or create security vulnerabilities depending on what you're doing.
Steve knows what he's doing
See you say that but I'm not sure, based on this thread at least. ::)
Anyway that's much easier and works much better. Takes a long time to update the package list initially though.