1.2. Terminology

There has been a lot of talk about "ports", "packages", etc. so far. Here is a description of all the terminology used within this document:

Package:

A set of files and building instructions that describe what's necessary to build a certain piece of software using the NetBSD package system. Packages are traditionally stored under /usr/pkgsrc.

The NetBSD Package System:

This is the part of the NetBSD operating system handling building (compiling), installing, and removing of packages.

Distfile:

This term describes the file or files that are provided by the author of the piece of freely available software to distribute his work. All the changes necessary to build on NetBSD are reflected in the corresponding package. Usually the distfile is in the form of a compressed tar-archive, but other types are possible, too. Distfiles are stored below /usr/pkgsrc/distfiles.

Port:

This is the term used by FreeBSD people for what NetBSD calls a package. In NetBSD terminology, "port" refers to the code for getting NetBSD going on a certain hardware architecture.

Precompiled (binary) package:

A set of binaries built by the NetBSD package system from a distfile using the NetBSD package system and stuffed together in a single .tgz file so it can be installed on machines of the same machine architecture without the need to recompile. Packages are generated in /usr/pkgsrc/packages by the NetBSD package system; there is also an archive on ftp.netbsd.org.

Sometimes, this is referred to by the term "package" too, especially in the context of precompiled packages.

Program:

The piece of software to be installed which will be constructed from all the files in the Distfile by the actions defined in the corresponding package.