Subject: Re: Packages
To: Mark de Jong <mdj@home.com>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 09/07/1998 22:06:12
On Mon, 7 Sep 1998, Mark de Jong wrote:

> I'm trying to find out the "proper" or "correct" way to install packages.
> What I did was:
> 
> 	su
> 	cd /usr/local
> 	tar -xvf perl-5.00404.tgz

This is actually _not_ the correct thing.  As root, do

pkg_add perl-5.00404.tgz

see
man pkg_add

for more info.

pkg_add will put the files in the correct place (default is
/usr/pkg/{bin,man,etc,...}) and will register the installation.
Specificially, a record will be kept of all files which were installed so
the package can be cleanly removed (with pkg_delete) later.  Also, a brief
description is recorded so that 'pkg_info' can tell you about the packages
you have installed.

There is a link to info about the packages collection from the top level
NetBSD page at www.netbsd.org.


--Dan