how to install apps from offline xxxx.pkg file in freebsd14.2 ?

Dear all :
i have download a part of apps and full dependences with below command . the app_list.txt include gnome , blender , libreoffice.
cat /app_list.txt | xargs pkg fetch -d -o /home/reebsd14_app_backup/ -y
yeah. the offline xxx.pkg have been download successfully .
question : Is a correct way to install offline apps for freebsd 14.2 ?
#pkg install *.pkg

if that is right , why i still download somethings when install offline apps in freebsd14.2 ? thanks.
 
For this you want to use # pkg add <package.pkg>

If you first 'cd' into the directory containing all the packages, then it will find the offline dependencies too.

pkg-add(8)

pkg install is for fetching and adding from a repo.
 
For this you want to use # pkg add <package.pkg>

If you first 'cd' into the directory containing all the packages, then it will find the offline dependencies too.

pkg-add(8)

pkg install is for fetching and adding from a repo.
Dear kpedersen:
did we running command as blow ?
#pkg add *.pkg ?
is that install all offline apps for me ? thanks.
 
Back
Top