Install packages offline
-
How can we download the desired packages and install them offline ?
Or is there a way to install the packages offline ?
-
@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.
-
This post is deleted! -
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. -
@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?
-
@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.
-
@bmeeks Thank you for the link! I am not the OP but was interested in the topic.
-