Subject: Re: "make install" vs "pkg_add"
To: None <oinkfreebiker@att.net>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-help
Date: 09/12/2001 15:19:13
On Wed, 12 Sep 2001 oinkfreebiker@att.net wrote:
> Is there any functional difference between a package
> built with "make install" versus one installed with
> "pkg_add"? Are the end results the same?

"make install" in pkgsrc will download the source code for the program
(and any dependencies) and compile and install it for you. "pkg_add"
will install a package that someone else has compiled. In the end,
assuming everything succeeded, you have the same result: the program
is installed. "pkg_add" of precompiled packages is quicker and more
convenient though, IMO. On the other hand, pkgsrc is updated more often,
so it may have a more recent version of the program.

> For instance, if during a "make" one encounters a
> checksum error, and cannot proceed with the "make" form
> pkgsrc, can one then do "pkg_add" on the exact same
> package, and then proceed with "make" on the rest of the
> files from pkgsrc?

Yeah, that's fine...