Fetching precompiled packages for external install

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Aug 19 18:39:50 UTC 2008

Polytropon <freebsd at edvax.de> writes:

> I'd like to know if somebody could point me to a command which allows
> me to solve the following task:
> I have a machine that is not connected to the Internet. If it was, I
> would use 
> 	# pkg_add -r <package>
> to install the software I want. I have another machine with Internet
> access, so I'd like to pre-fetch the packages and their dependencies
> in order to put them on a CD or PD (yes, that's for real!) to transfer
> them to the other machine and use pkg_add there.
> I know that it's possible to download packages one by one, but is there
> a way to include all the dependencies automatically?

I don't see anything direct, but the *-depends-list targets will
probably get you close enough to work it out.

More information about the freebsd-questions mailing list