pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_add on machine without Internet connection



Thanks for the replies.

I ended up installing pkg_fetch on a machine that had Internet access and then:

% setenv PKG_PATH http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0.2_2010Q2/All/
% pkg_fetch -v kdebase4-4.4.4nb1.tgz
No package for kdebase4-4.4.4nb1.tgz found, continuing
%
% pkg_fetch -v kdebase4-4.4.4nb1
Fetching http://ftp.netbsd.org:80/pub/pkgsrc/packages/NetBSD/i386/5.0.2_2010Q2/All//kdebase4-4.4.4nb1.tgz
kdebase4-4.4.4nb1.tgz                         100% of   35 MB  177 kBps 00m00s
Fetching http://ftp.netbsd.org:80/pub/pkgsrc/packages/NetBSD/i386/5.0.2_2010Q2/All//qt4-libs-4.6.2nb3.tgz
qt4-libs-4.6.2nb3.tgz                         100% of   24 MB  177 kBps 00m00s
Fetching http://ftp.netbsd.org:80/pub/pkgsrc/packages/NetBSD/i386/5.0.2_2010Q2/All//qt4-qdbus-4.6.2nb1.tgz
qt4-qdbus-4.6.2nb1.tgz                        100% of  374 kB  147 kBps
[..]
Using existing package './xmlcatmgr-2.2nb1.tgz'
Using existing package './libgpg-error-1.8.tgz'
Using existing package './xmlcatmgr-2.2nb1.tgz'
Using existing package './jpeg-8b.tgz'
%

Then transferring the fetched files to the other machine and running:

# pkg_add -v /path/to/binaries/kdebase4-4.4.4nb1.tgz


Ray


Home | Main Index | Thread Index | Old Index