wiki:InstallationDebian

Version 7 (modified by Victor Julien, 11 years ago) (diff)

--

Debian and Ubuntu

This document describes three methods of installation on Debian and Ubuntu.

  1. Installing Debian/Ubuntu? packages using APT from the Debian repository
  2. Installing Debian/Ubuntu? packages using APT from the Vuurmuur server
  3. Installing Debian packages manually.
  4. Building Debian packages.

On Ubuntu systems you probably need to use the sudo command to install/create the packages.

Installing Debian/Ubuntu? packages using APT from the Debian repository

Debian Sid includes Vuurmuur. So if you're running Sid you may want to run the packages supplied by Debian.

Add the following line to your /etc/apt/sources.list file:

deb http://ftp.de.debian.org/debian sid main 

Replace "ftp.de.debian.org" with the Debian mirror you are using and/or are closest to.

Now, install vuurmuur with the following commands:

apt-get update
apt-get install libvuurmuur0 vuurmuur vuurmuur-conf

Installing Debian/Ubuntu? packages using APT from the Vuurmuur server

For Debian add the following line to your /etc/apt/sources.list file:

deb ftp://ftp.vuurmuur.org/debian/ etch main

Replace etch by sarge, lenny or sid for those versions. You can also get the alpha releases or nightly svn builds by replacing 'main' by 'alpha' or 'svn'.

For Ubuntu add the following line to your /etc/apt/sources.list file :

deb ftp://ftp.vuurmuur.org/ubuntu/ feisty main

Replace feisty by dapper, gutsy, hardy or intrepid for those versions.

Now, install vuurmuur with the following commands:

apt-get update
apt-get install libvuurmuur vuurmuur vuurmuur-conf

Upgrading is easy:

apt-get update
apt-get upgrade

Installing Debian packages manually

Vuurmuur is split in 3 different packages: libvuurmuur, vuurmuur and vuurmuur_conf.

An apt archive is available, see Downloads for the url. Add the url to your /etc/apt/sources.list and run 'apt-get update', when it is finished, do 'apt-get install libvuurmuur vuurmuur vuurmuur-conf'. This will install Vuurmuur! When a new version of Vuurmuur is uploaded to the apt archive, do 'apt-get update' and 'apt-get upgrade' to install the newest version.

As an alternative you can download the packages and install them using the 'dpkg' command like this:

dpkg --install libvuurmuur_0.5.72-1_i386.deb
dpkg --install vuurmuur_0.5.72-1_i386.deb
dpkg --install vuurmuur-conf_0.5.72-1_i386.deb

After the installation succeded, please proceed to the Configuration.

Creating Debian packages

To create the debian packages, you need the source package. Then proceed with the following basic steps:

  1. unpack the source with the command './install.sh --unpack'
  2. enter the libvuurmuur directory and type 'dpkg-buildpackage', this will build the libvuurmuur package
  3. install the libvuurmuur package: dpkg --install ../libvuurmuur_0.5.72-1_i386.deb
  4. do the same for the vuurmuur and vuurmuur_conf directories.

When you upgrade from a previous version of Vuurmuur, do not forget to install the new libvuurmuur package before you build the vuurmuur and vuurmuur_conf packages.