Subject: Re: Basic Help
To: Richard Ibbotson <richard@sheflug.co.uk>
From: Alistair Crooks <agc@pkgsrc.org>
List: netbsd-users
Date: 10/15/2001 13:05:24
On Mon, Oct 15, 2001 at 11:57:24AM +0000, Richard Ibbotson wrote:
> Alistair
> 
> > components installed and a good connection to the Internet, so that
> > the software can be downloaded - you will need the pkgsrc component
> > to do this. You can also add pre-compiled packages - these are also
> 
> I'm supposing that this is on the Net BSD site ?  I'll have a look.  
> I installed the 1.5.2 version from a CD that came from Quickstart 
> Technology Ltd in London.   Only place in the UK that I could get a 
> CD from.
> 
> I'm supposing that pkgsrc is on the CD.  Anyone give me some idea 
> about how to install it ?  I can see that there's an i386 folder and 
> then the subfolders below that are "binary ".. and then "sets" with 
> the usual things in there.
> 
> Thanks
> 
> -- 
> Richard

There are both pre-compiled packages on the NetBSD ftp site - take a look
at the manual page to pkg_add(1) to find out how to add packages - to quote
from its example section:

EXAMPLES
     In all cases, pkg_add will try to install binary packages listed in de-
     pendencies list.

     You can specify a compiled binary package explicitly on the command line.

     # pkg_add /usr/pkgsrc/packages/All/tcsh-6.10.00.tgz

     If you omit the version number, pkg_add will install the latest version
     available.  With -v, pkg_add emits more messages to terminal.

     # pkg_add -v /usr/pkgsrc/packages/All/unzip

     You can grab a compiled binary package from remote location, by specify-
     ing an URL.  The URL can be put into an environment variable, PKG_PATH.

     # pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/mozilla-0.8.1.tgz

     # export PKG_PATH=ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All
     # pkg_add -v mozilla

I don't know what Quickstart Technology have put onto the CD that you have.
If you want to start building the packages for yourself, as well as installing
the comp.tgz, and text.tgz sets, you'll also need to install the pkgsrc.tgz
set, which should be in the same place as the others.

Regards,
Alistair