Getting Netpbm

Netpbm Source Package

The most basic way to get Netpbm is to get the source package from the Netpbm Sourceforge project and build it for the particular system on which you want to run it.

Netpbm has a sophisticated system of releasing source code (see Release System), but you probably don't need to know any more than the following to download Netpbm.

No matter how you get the Netpbm source code, you have to build it, following instructions and using tools in the package, before you can install and use it.

The source code packages do not contain documentation. The documentation is online, and if you want a local copy, you can get it from the userguide directory in Subversion:


    svn checkout http://svn.code.sf.net/p/netpbm/code/userguide userguide

(Before 2013, there was also a way to get a tarball, using a Sourceforge feature that generated it from the Subversion repository, but Sourceforge withdrew that service).

There are more details on installing local documentation in the source code pacakge in the doc/USERDOC file.

At any particular time, there are 3 Netpbm releases from which to choose:

Series name Bugs Features How to download
Super Stable Very few more than 3 years old Conventional source code tarball from Sourceforge
Stable Few 1/4 - 3 years old Subversion
Advanced Many up to 1/4 year old Subversion

Note that none of these releases we're talking about have any known bugs. The bugs are those that haven't been reported yet.

Downloading A Tarball

Get the tarball for the Super Stable release from Sourceforge.

This is a highly conventional Unix source code package. Use the conventional Unix program tar to unpack it. It is Gzipped.

The project does not distribute tarballs for the other release series.

You can get Sourceforge to make you a tarball of the current Development release. It is a rather quirky feature of browsing the code.

(Before 2013, there was a way to get a tarball of all the series, using a Sourceforge feature that generated it from the Subversion repository, but Sourceforge withdrew that service).

Downloading From Subversion

Downloading from Subversion is not a common way to get a release of software, but it is very easy. You need a Subversion client program to do it, but even that is not hard to get, and you may well find other uses for a Subversion client later.

Subversion is a source code control system (like git) -- a system designed for tracking changes to code as people develop it. Subversion is primarily intended to be used by developers, but works well as a release tool as well.

If you need a tarball of a Netpbm release, it is not hard to write a program to extract it from Subversion (use a Subversion export command) and generate the tarball from that.

The reason Netpbm uses this nontraditional method of distributing code is that it saves work for the Netpbm maintainer. In some cases, it shifts work from the maintainer to the user. In others, it actually eliminates work.

If you don't have Subversion installed on your system (type svn at a shell prompt to find out), see Getting Subversion for information on getting it.

The URL of the Netpbm Subversion repository is http://svn.code.sf.net/p/netpbm/code. So to download the current Stable release:


    svn checkout http://svn.code.sf.net/p/netpbm/code/stable netpbm

That puts the source tree in a directory called netpbm in your current directory.

To download the current Advanced release, replace "stable" with "advanced" in the above command.

Browsing

You can browse the source code one file at a time with Sourceforge's Subversion web access.

There is a misleading button in that facility labelled "Download Snapshot." at the right end of the title bar that is near the middle of the page. You might think that that downloads a snapshot of the part of the repository you are viewing, or maybe downloads a snapshot of the entire repository, but what it does is download a snapshot of the "trunk" directory regardless of what part of the repository you are viewing.

Pre-Built Distributions

There are a few distributions of Netpbm pre-built for particular kinds of systems. These are often called "binary" distributions. The "Netpbm maintainer" is the maintainer only of the source package, though. The pre-built packages are distributed independently from the Netpbm source package. They are typically based on a fairly downlevel Netpbm source package.

If you have built Netpbm for a common platform, consider making it available to others; Contact the Netpbm maintainer to get it listed here or to add it to the Netpbm Sourceforge project.

Here are pre-built distributions the Netpbm maintainer knows about:

Linux

Lots of "Linux distributions" include Netpbm at least optionally, so you can get it via the normal distribution system for the distribution.

But if you use Debian before Version 11 or Ubuntu 22, note that their Netpbm package is essentially Netpbm 9.25 from 2002, minus a bunch of unimportant programs. Also note that the Debian version numbering (in these old versions) is not consistent with Sourceforge Netpbm, so a program may appear to be from e.g. Sourceforge Netpbm 10.0, but is actually 9.25. In 2002, Debian decided for various reasons not to distribute regular Netpbm and instead created its own variation of it. That variation was too hard to update with ongoing development on the main branch of Netpbm, so no one did so until around 2017, with the result being included in Debian 11, which became Debian Stable in June 2023.

Also: