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

    Install packages offline

    Scheduled Pinned Locked Moved pfSense Packages
    7 Posts 4 Posters 6.2k 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.
    • R
      ravegen
      last edited by

      How can we download the desired packages and install them offline ?

      Or is there a way to install the packages offline ?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @ravegen
        last edited by

        @ravegen
        FreeBSD packages could be installed off-line.
        https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html
        You have to copy them them first on the file system. And check with the pkg man pages how to use an already present package file.

        pfSense packages ? guess not, as I didn't find a web server listing them for download.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        R 1 Reply Last reply Reply Quote 0
        • bmeeksB
          bmeeks
          last edited by

          This post is deleted!
          bmeeksB 1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks @bmeeks
            last edited by bmeeks

            One small irritation with installing packages offline (with no Internet connection) is that many packages have dependencies. These are other packages that have to be downloaded and installed before the package you targeted will install and work properly. Figuring out what these dependent packages are is cumbersome.

            So just be prepared for a scenario like this --

            pkg add ./[some_package.txz]
            

            The pkg utility then immediately complains and says something like "[some_package.txz] requires [this_package.txz]". So you then have to go download [this_package.txz] and copy it over to the box. Rinse and repeat -- possibly several times.

            Been there, done that. That's how I know ... 😀. I'm not a pkg expert, though. Would be nice if there is an option to "create an offline installation bundle" for a specified package. That way the utility would figure out the dependencies and download everything needed into a nice bundle you could then copy over to the offline box and install from.

            1 Reply Last reply Reply Quote 1
            • R
              revengineer @Gertjan
              last edited by revengineer

              @gertjan said in Install packages offline:

              pfSense packages ? guess not, as I didn't find a web server listing them for download.

              So there is no way do download pfsense packages for offline installation? I am concerned about the changes coming with pfSense 2.5.0 and would like to keep final package files for offline installation. There must be a way to download these. Does anyone know?

              bmeeksB 1 Reply Last reply Reply Quote 0
              • bmeeksB
                bmeeks @revengineer
                last edited by bmeeks

                @revengineer said in Install packages offline:

                @gertjan said in Install packages offline:

                pfSense packages ? guess not, as I didn't find a web server listing them for download.

                So there is no way do download pfsense packages for offline installation? I am concerned about the changes coming with pfSense 2.5.0 and would like to keep final package files for offline installation. There must be a way to download these. Does anyone know?

                You can download the pfSense packages for 2.4.5_p1 here: https://files00.netgate.com/pfSense_v2_4_5_amd64-pfSense_v2_4_5/All/.

                I thought you were talking about FreeBSD packages in general. However, my caution still applies to the pfSense link. Most packages have dependencies that you will have to also identify and download in order to successfully install and use the package you desire.

                R 1 Reply Last reply Reply Quote 1
                • R
                  revengineer @bmeeks
                  last edited by

                  @bmeeks Thank you for the link! I am not the OP but was interested in the topic.

                  1 Reply Last reply Reply Quote 0
                  • L lucasll referenced this topic on
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.