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

Stupid Freshports question...

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 717 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.
  • K
    keyser Rebel Alliance
    last edited by keyser May 29, 2022, 7:47 AM May 28, 2022, 11:39 PM

    Hi

    I'm a BSD/Linux novice in some areas, and I was wondering how to install a specific ports package on pfSense?
    I have noticed Freshports states that a NtopNG 5.2.xxxx package build for aarch64 is available in the ports tree, and I would like to test that on my SG-2100. The NtopNG 5.0.xxxxx that is installed with the pfSense NtopNG package for aarch64 is actually a NtopNG 4.0 package that has been renamed to 5.0.xxxx :-(

    My understanding was that the pkg command looks into the officialt FreeBSD ports tree and fetches the latest or quarterly package, but that seems to not be the case here. So the pkg tool in pfSense must be using another ports tree that the one freshports is monitoring - or have I completely misunderstood how this works in FreeBSD?

    On my AMD64 boxes I have found a way to install the latest NtopNG 5.3 build directly from ntop.org by adding a specific ports URL for that package to pfSense. But they do not publish aarch64 builds.

    Love the no fuss of using the official appliances :-)

    K 1 Reply Last reply May 29, 2022, 9:46 AM Reply Quote 0
    • K
      keyser Rebel Alliance @keyser
      last edited by May 29, 2022, 9:46 AM

      @keyser Just a small update on this. By trial and error I succesfully found a way to install the latest quarterly ntopng package from the FreeBSD repo on my aarch64 SG-2100.
      But it required me to add the full package URL and its dependencies specifically with "pkg add" command.

      Here's what I did:
      pkg add http://pkg.freebsd.org/FreeBSD:12:aarch64/quarterly/All/ntopng-5.2.d20220314_1,1.txz

      Love the no fuss of using the official appliances :-)

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by May 29, 2022, 3:27 PM

        Yup, see: https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html

        pkg uses the pfSense repo by default. Be aware of the issues that can happen by installing FreeBSD packages but using individual packages directly is generally safer as it won't pull in incompatible dependencies.

        Steve

        1 Reply Last reply Reply Quote 1
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received