Install PeerGuardian Linux (pgl) on Debian or Ubuntu systems - Custom builds

Set up your systems

Follow these instructions to ...

  1. Configure your system to know about the packages (you need the "deb-src ..." entry in your apt sources.list)
  2. Add my gpg key to the apt keyring
  3. Update your system with the package information

Install the prerequisites

sudo apt-get install fakeroot
sudo apt-get build-dep -y pgl
mkdir ~/peerguardian
cd ~/peerguardian

Either use the current stable source

apt-get source pgl
cd ~/peerguardian/pgl-{MAJOR_VERSION}

... or use the development source

git clone git:// peerguardian-code
cd ~/peerguardian/peerguardian-code/pgl

Build your own packages

debuild -uc -us -tc

This will build the packages

  • pgld, pglcmd, pglgui (these three are the main packages)
  • pgld-dbg, pglgui-dbg (these two contain the debug symbols)
  • blockcontrol, moblock, mobloquer, mobloquer-dbg, pgl-gui and pgl-gui-dbg (the last 6 are only transitional packages and are not required at all if you install the previous mentioned packages)

in the directory ~/peerguardian/ (built from stable source) or ~/peerguardian/peerguardian-code (built from development source)

Install your new packages

Change to the above mentioned directory and install the new debs with

cd ..


MAJOR_VERSION is something like "2.2.2"
MINOR_VERSION is the version of the Debian package. Normally it is "1". Just check the filename.
ARCHITECTURE is something like "i386", "amd64", "armel", "mips", "powerpc", ...


Assume, your architecture is "amd64". Otherwise replace "amd64" with your architecture, e.g. "i386", "armel", "mips" or "powerpc".

Later on, assume the current version of peerguardian is "2.2.2" (released on Nov 12th, 2012). Just check the folder name to get the correct version.

sudo apt-get update
sudo apt-get install fakeroot
sudo apt-get build-dep -y pgl
mkdir ~/peerguardian
cd ~/peerguardian
apt-get source pgl
cd ~/peerguardian/pgl-2.2.2
debuild -uc -us -tc
cd ..
sudo dpkg -i pgld_2.2.2-1_amd64.deb pglcmd_2.2.2-1_amd64.deb pglgui_2.2.2-1_amd64.deb


Wiki: pgl-Install-DebianUbuntu
Wiki: pgl-Main

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks