After installing FreeBSD we would like to use following commands to install additional packages.
pkg pkg install nano pkg install xorg pkg install mate-desktop mate pkg install slim
The above commands require an Internet connection to install packages. But how can we install those packages without an Internet connection by using CD/DVD/USB?
Best Answer
I'm not sure what release you're using, but I'm assuming 10.1, currently the latest. The installation process is described in the 10.1-RELEASE errata:
Create a
/dist
directory and mount the DVD.Make sure
REPOS_DIR
is correctly pointing to your local repository.or for
csh
:Bootstrap
pkg
and install packages.