Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

pgl-Install-DebianUbuntu-Custom

jre-phoenix

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://git.code.sf.net/p/peerguardian/code 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 ..
sudo dpkg -i pgld_{MAJOR_VERSION}-{MINOR_VERSION}_{ARCHITECTURE}.deb
sudo dpkg -i pglcmd_{MAJOR_VERSION}-{MINOR_VERSION}_{ARCHITECTURE}.deb
sudo dpkg -i pglgui_{MAJOR_VERSION}-{MINOR_VERSION}_{ARCHITECTURE}.deb

NOTE:

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", ...

Example:

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

Related

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