Peerblock on Windows, whats Ubuntu's equivalent?

I have got just Vuze and would like to know the equivalent blocking software that I used on Windows when I used Vuze then.


What do you mean by “blocking software” … I don’t use Vuze, I use Transmission … does Vuze not have somewhere to add a blocklist, as Transmission does ?

Hmm … apparently there is a PeerGuardian for Linux … but it is not available in the default software repositories … so you have 2 options

  1. Download it as source code form here:
    PeerGuardian download |
    then compile and install it … not the easiest route, as you will have to resolve any dependencies yourself.


  1. Add this PPA to your sources:
    moblock-deb : jre
    then install the pgl package from within one of your package managers.

If you need assistance … just ask :slight_smile:

Think I’ll give it a miss for now as I have no idea how to sort out number 1 and with number 2, does that make it permanent or can it be activated when needed.

Thanks anyways, Pete

Step 2 isn’t very hard, simply open terminal and enter:

sudo add-apt-repository ppa:jre-phoenix/ppa

after you go back to $ prompt, enter:

sudo apt-get update && sudo apt-get upgrade


sudo apt-get install pgl

Option 2 would allow you to easily install/uninstall it at will, from within your package manager(s)

Don’t know about “activate” … I’ve never used it.

I mean when starting and stopping a program.
Peerguardian blocked ALL or allowed selected traffic onto your PC. but itt allowed Vuze to function properly, allowing it’s traffic.

Sorry, can’t comment on Peerblock ATM, as I said I don’t use it … try it out and see :slight_smile:

I’ve done the other commands from earlier posts and downloaded pgl-2.1.3.tar.gz. But now I’m stuck as it can’t execute the command above!
I changed the directory to Downloads too and it comes up with ‘E: Unable to locate package pgl’
I’ve tried renaming it from pgl-2.1.3.tar.gz to pgl.tar.gz to see if it’s the name but it still didnt work, do I need to unpack the file manually into a folder named ‘pgl’?

And, can I ask another question?
Why when you write things that go in the terminal window have they got ‘Code: [Select]’ then the code in some sort of coloured banner? What’s that all about?

My appologies … that command should be:

sudo apt-get install pgl-gui

Get rid of the pgl-2.1.3.tar.gz file you downloaded, that will be the source code … you don’t want to be attempting to compile and install from source unless/until you know what you’re doing :wink:

BTW, a .tar.gz file is an archive in the same way as a .zip or .rar is … you would normally right-click it and select Extract here then read any included text files such as README or INSTALL etc. before doing anything else … but as I said, don’t mess with source code compile/installs unless you know what you’re doing as dependencies will NOT be resolved for you and you could make a mess of your system.

Followed your instructions and installed it but get this error when running it…
It tells me to check it’s log file, I’ve looked in the location but theres nothing there!

Heh … “” doesn’t exactly give you a lot to work with :slight_smile:

Does the application work or not ? … as I said I don’t use it.

I use Transmission for torrents, and add this URL:
for it to acquire its blocklist updates

In Transmission Edit > Preferences > Privacy > Enable Blocklist (then the above URL) … then click Update.


The errors appear to be generated because PeerGuardian isn’t set to start (eg. set the iptables rules) when you start pgl-gui … you probably told it not to during the setup.

It’s actually nothing to worry about … according to the logs it gets the updates, then attempts to restart, which fails because it isn’t already running.

Just dismiss the error messages, and click the Start button.

On my system starting PeerGuardian killed ALL incoming and outgoing network traffic leaving me without the ability to network at all … rebooting solved this (as it obviously stopped PeerGuardian from running), I have no doubt it’s because I have no idea how to use the application.

Ok, seems like Transmition has won, lol.
What’s the correct way to remove Vuze and Peerblock.

run these commands:-

To uninstall the 2 packages run:

sudo apt-get remove vuze pgl-gui

then, to clear any dependencies run:

sudo apt-get autoremove

Or you could fire up Synaptic or the Ubuntu Software Centre, and uninstall them from there.

Thanks, done it the first way.
I’m still learning and wanted to be sure.

I’ve decided to have another go at installing Vuze and Peerguardian for Linux
I’ve installed Vuse through the Ubuntu Software Library but I’m having problems with PGL now…

Done that…

When I enter the above command, I get;
peter@Petes-ubuntu-pc:~$ sudo apt-get install pgl-gui
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package pgl-gui

What am I missing? I cant remember how I did it last time?

PGL only seems to be available to Natty Narwhal (Ubuntu 11.04). Most likely the reason your getting the error.

Ah, well… in that case, that’s binned that idea, is there another program I could use to do the same?
Or is running Transmission with it’s built in block list and then using Vuze to download torrents a worthwhile idea?
Is the claim that Vuze it the best one out there (re speed) or is that a rubbish claim.

It’s a rubbish claim. All torrent clients are the same essentially, some just have more junk than others. Personally I use Transmission as it’s lightweight, never had a problem with it, and I’ve never had to use a blocklist thus far. I don’t see the point really. If your that conscious about the security of your computer/ID then just don’t use torrents.

I’d thought as much, how can one program be different to the other when it’s the source that dictates the speed of the torrent, a bit of a lame claim really.

How come when using Transmission, or probably any other P2P program, you don’t need/use a blocklist?
Is it something to do with the fact that Ubuntu (Linux) doesn’t advertise to the world that is there by stupidly opening virtually all the ports, unlike Window$?