Developers guide
Chapter 4
Copyright © 2008-2013 Inverse inc.
Installation 11
Software Download
PacketFence provides a RPM repository for RHEL / CentOS instead of a single RPM file.
For Debian and Ubuntu, PacketFence also provides package repositories.
These repositories contain all required dependencies to install PacketFence. This provides numerous
advantages:
∏ easy installation
∏ everything is packaged as RPM/deb (no more CPAN hassle)
∏ easy upgrade
Software Installation
RHEL / CentOS
In order to use the repository, create a file named /etc/yum.repos.d/PacketFence.repo with the
following content:
[PacketFence]
name=PacketFence Repository
baseurl=http://inverse.ca/downloads/PacketFence/RHEL$releasever/$basearch
gpgcheck=0
enabled=0
Once the repository is defined, you can install PacketFence with all its dependencies, and the required
external services (Database server, DHCP server, RADIUS server) using:
yum groupinstall --enablerepo=PacketFence,epel,rpmforge,of Packetfence-complete
Or, if you prefer, to install only the core PacketFence without all the external services, you can use:
yum install --enablerepo=PacketFence,epel,rpmforge,of packetfence
Debian and Ubuntu
In order to use the repository, create a file named /etc/apt/sources.list.d/packetfence.list with
the following content when using Debian 7.0 (Wheezy):
deb http://inverse.ca/downloads/PacketFence/debian wheezy wheezy