Solved [Solved] Offline packages installation?

If I'd need to install FreeBSD in a computer which doesn't have an internet connection, how could I install packages from a CD, if pkgng isn't included in the base system?
 
Re: Offline packages installation?

Extract the ports-mgmt/pkg package somewhere and use the pkg-static executable to register pkg.
 
Re: Offline packages installation?

And which base system tool could I use to extract the pkg package?
 
Re: Offline packages installation?

Code:
cd /tmp
fetch http://pkg1.nyi.freebsd.org/freebsd:10:x86:64/latest/All/pkg-1.2.5.txz
tar -Jxvf pkg-1.2.5.txz /usr/local/sbin/pkg-static
usr/local/sbin/pkg-static add pkg-1.2.5.txz

Change the URL to the proper ABI for the system you're on.
 
Back
Top