Distribution Packages

Packages are beginning to become available for a number of distributions. If you cannot find one for your distribution below, you can download a tar-file from the releases area. Once unpacked, you can install it with:

./configure && make && sudo make install

Options can be seen in the INSTALL file and by running:

./configure --help


There is a Debian .deb now available. To create and install a back-ported .deb from sid you should see here. This worked for me on Wheezy:

# Get a suitable deb-src entry
sed -ne '/^deb-src/s/ \([a-z][a-z]*\) main$/ sid main/p' /etc/apt/sources.list
# Use the result of the sed to populate the echo
echo "deb-src http://????.debian.org/debian sid main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep sanewall
sudo apt-get -b source sanewall
sudo dpkg -i sanewall*.deb


For Ubuntu, the package is in Launchpad but not available in releases yet. To build from source you can do the following:

# Install prerequisites
sudo apt-get update
sudo apt-get install devscripts
sudo apt-get install debhelper autotools-dev dh-autoreconf
sudo apt-get install docbook-xsl dblatex
# Choose a URL for .dsc files by browsing the source package
dget -x https://launchpad.net/ubuntu/+archive/primary/+files/sanewall_0.9.10%2Bds-1.dsc
# Ignore the gpg error unless you have set up this validation
dpkg-source -x sanewall_0.9.10%2Bds-1.dsc
cd sanewall-0.9.10+ds
dpkg-buildpackage -us -uc
cd ..
sudo dpkg -i sanewall*.deb

Arch Linux

For Arch Linux see here.


This review request for Sanewall has a link to an SRPM. I believe that this means you can produce a .rpm by running:

rpmbuild --rebuild sanewall*.src.rpm

Note that this SRPM works with the systemd init system which means it is incompatible with RHEL, CentOS and derivatives.


If you have packaged Sanewall or know where someone has, please let me know and I will add it to this page.

There are .deb and .rpm files made available in the downloads area along with the tar-file releases. I will maintain these up to a 1.2.0 release but not beyond unless there is a compelling reason to continue.