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

    Offline Package Management?

    pfSense Packages
    3
    4
    3.9k
    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.
    • A
      Agarax
      last edited by

      So it looks like it's been a few years since this was last asked, so I was wondering if there was a more up to date answer.

      What's the best way to install packages to pfsense instances that do not have internet connectivity?

      Preferably I'd like to avoid mirroring the entire repo since I only need a handful (open vm tools being the biggest).

      Also, when I look at the documentation for creating your own repo it's for 2.2 and before.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by jimp

        There isn't anyone good procedure at the moment.

        You can do something like this, though. From a system with connectivity:

        pkg fetch -dy pfSense-pkg-<name of package></name>
        

        That will put the files it needs into /var/cache/pkg/

        You can then copy the contents of /var/cache/pkg/* to the target system(s) and use pkg install pfSense-pkg-<name of package> from there.

        If it all went correctly, that should be able to use the files locally without external connectivity. But YMMV.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • F
          Freik
          last edited by Freik

          pkg install pfsense-pkg-<name of="" package=""></name> 
          

          The command above did not work for me. Or if i misunderstood what to replace the <> part with.

          I ended up using this instead for haproxy v0.59_9 on v2.4.3:

          pkg add /var/cache/pkg/pfSense-pkg-haproxy-0.59_9.txz
          
          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            The forum conversion apparently mangled the syntax above. In this case, you'd just put haproxy there, so pkg install pfsense-pkg-haproxy. But pkg add works for local files as well.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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