Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Adding FreeBSD packages

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    3 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      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.

      Steve

      1 Reply Last reply Reply Quote 0
      • C
        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.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          @cmb:

          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.
          Thanks.

          Steve

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.