blogage.de > Forlong > Forlong's Blog > Entry > 02 December 2008 > How to install (and update) Vuze (for...
  De | En | Sign up | Login

How to install (and update) Vuze (formerly Azureus) 4 on Ubuntu

Since you can not update the version of Vuze from Intrepid's repositories (or any other version for that matter), here's how to install the latest version easily (no need to compile) and keep it updated.

Download & Install

  • Before we install anything we need to make sure, there is no Ubuntu package installed:
    sudo apt-get remove azureus
    (Don't worry, all your configurations and torrents are saved in your home directory so none of those get deleted.
    You will be able to use them in the new version just like before.)

  • Then we need to make sure the Java Runtime Environment is installed:
    sudo apt-get install default-jre

  • Now go to http://azureus.sourceforge.net/download.php and download the version suitable for your OS (when in doubt, do not choose the AMD64 version) to your home directory

  • Afterwards, extract the program to /opt
    sudo tar -xvjf Vuze_*.tar.bz2 -C /opt/

Basically, that's it. :)

Now you could launch Vuze like this:

/opt/vuze/vuze

or

/opt/vuze/azureus

Vuze Splash


But here are some steps to make the usage more convenient:

Keep Vuze updated

Vuze does that automatically but we need to have write privileges in the directory Vuze stores its program files:

sudo chown -R $USER:$USER /opt/vuze/
The current user is from then on able to update the application.

 

Create menu entry

Finally, we'll create a .desktop file, so we have a launcher in the panel menu. In order to do that we need to create the file
/usr/local/share/applications/vuze.desktop

    e.g. on GNOME you can do it like this:

sudo mkdir -p /usr/local/share/applications
gksu gedit /usr/local/share/applications/vuze.desktop
and copy the following text in there:
[Desktop Entry]
Name=Vuze (Azureus 4)
Comment=Bittorrent Client
Exec=/opt/vuze/azureus
Terminal=false
StartupNotify=true
MultipleArgs=false
Type=Application
Icon=/opt/vuze/vuze.png
Categories=Application;Network

 

Run Vuze easily from a command line (optional)

This requires a simple start-script that we'll locate at
/usr/local/bin/vuze

    e.g. on GNOME you can do it like this:

sudo mkdir -p /usr/local/bin
gksu gedit /usr/local/bin/vuze
with the following content:
#!/bin/sh
exec /opt/vuze/azureus "$@"

Don't forget to make it executable:

sudo chmod +x /usr/local/bin/vuze

Afterwards, you will be able to run Vuze by executing simply
vuze
in the terminal or via [Alt]+[F2]

    In case you want to be able to run it as azureus do this

sudo ln -s /usr/local/bin/vuze /usr/local/bin/azureus

 

 

Make Vuze look and behave like Azureus

Go here: Azureus Look & Feel for Vuze 4

Trackbacks



No trackbacks, yet.

Comments Help Feed

mos (Anonymous)
3 years ago

Thanks, worked great

AnFonE (Anonymous)
3 years ago

Worked perfectly, thank you very much.

Lars-Olof (Anonymous)
3 years ago

Awesome...  Working great.

trench (Anonymous)
3 years ago

The information you provided is great but the overall situation is dumb. 

apt-get isn't the future, it's the now.

And "Vuse" needs to get with the now.

newbie (Anonymous)
3 years ago

thanks a lot - worked great -NO typos !!!!!  (which cost me usually hours)

Apirak (Anonymous)
3 years ago

It's clear, thank you.

3 years ago

Or take the easy way and go to:
GetDeb.Net

3 years ago

Well, first of all: that version is outdated.

But more importantly: it won't solve the update issue.
Which was the reason why I wrote this how-to in the first place.

You could change the permissions of /usr/share/azureus/ then but that's out of the question for me.

Stratos (Anonymous)
3 years ago

hi there... nice howto... any chance it can be made to work on 64bit?

 Initializer::<init>::110,Main::<init>::84,Main::main::217,NativeMethodAccessorImpl::invoke0::-2,NativeMethodAccessorImpl::invoke::39,DelegatingMethodAccessorImpl::invoke::25,Method::invoke::597,MainExecutor$1::run::37,Thread::run::619
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

Stratos (Anonymous)
3 years ago

  Ok, that was simple.... just download the 64bit version from sourceforge...

http://azureus.sourceforge.net/download.php

Mattias (Anonymous)
3 years ago

There is another simple solution. Run the vuze update and copy the new *.jar file into $HOME/.azureus then edit `which vuze` and change -classpath /usr/share/java/Azureus2.jar to $HOME/.azureus/Azureus4.0.0.4.jar

inforr (Anonymous)
3 years ago

Does this method keep your settings in Azureus? Or do you lose everything because of the uninstall?

TonhaoSemAcento (Anonymous)
3 years ago

Works great for me, and it keeps the settings, torrents and all other things

3 years ago

Yes, everything will be just as before in terms of configuration and torrents. They will be picked up immediately as if nothing happened.

I might have pointed this out in the guide.
Added it to the "removde" bit.

jackrussell (Anonymous)
3 years ago

Forlong ..... your bloody marvelous mate .  Works like a charm . Saved     me countless hours of hair pulling ;)

Abbe H (Anonymous)
3 years ago

I only got to: sudo tar -xvjf Vuze_*.tar.bz2 -C /opt/ which gives the error:


tar: Vuze_*.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

I can say that i had problems in extracting to /opt but i managed to move the extracted folder there using "sudo mv"

I'm running ubuntu 8.10

3 years ago

tar: Vuze_*.tar.bz2: Cannot open: No such file or directory

You most probably didn't save it to your home directory but to your desktop.

 

P.S. Thanks Stratos or the hint, I thought they were smart enough to offer the suitable version. Added the other download link to the guide.

argo (Anonymous)
3 years ago

Thanks! Great help, fast and easy.

argo

Amejin (Anonymous)
3 years ago

Still works flawlessly on 1/12/2009

3 years ago

Thank you for your interesting article

coxy (Anonymous)
2 years ago

This worked amazingly well. Thanks!! :D

mister_playboy (Anonymous)
2 years ago
Thanks so much for this, Transmission was constantly freezing up on me and driving me nuts.
Laki (Anonymous)
2 years ago

Geez, thanks. This is the only tutorial that actually helped me!

Bruno (Anonymous)
2 years ago

I get a msg saying opt/vuze is not writeble. How do I make it writeble?

2 years ago

Did you really run

sudo chown -R $USER:$USER /opt/vuze/

In case that's not enough, try this afterwards:

chmod -R u+rwX /opt/vuze/
Bruno (Anonymous)
2 years ago

Thanks. I had to use Nautilus to change folfer permitions. Looks ok now. Thanks again

Stephen (Anonymous)
2 years ago

Hey.  Thanks for the great HowTo.  I'm having some problems do.  Whenever I run Vuze from the Menu or from /opt/vuze/vuze, a warning comes up to tell me that Vuze closed untidily and then it crashes as soon as I move the mouse.  When I run sudo /opt/vuze/vuze from the terminal, it works fine.  I changed the ownership as you suggested above and it stills crashes.  Terminal gives this:

(SWT:25363): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 250 and height -1
/opt/vuze/vuze: line 188: 25363 Aborted                 ${JAVA_PROGRAM_DIR}java "${JAVA_ARGS}" -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.install.path="${PROGRAM_DIR}" -Dazureus.script="$0" $JAVA_PROPS $START_CLASS "$@"

 

I'm using Kubuntu 8.10 if that's any help.

Scott (Anonymous)
2 years ago

Fantastic HOWTO, been going round in circles with other variations. Nice one!

mister_playboy (Anonymous)
2 years ago

I made use of this again after a clean install of Ubuntu 9.04... thank you for the second time!

Jacob (Anonymous)
2 years ago

Thank you for posting this up, helped me get rid of the annoying update prompt with the repository version.


Thanks again!

Kejlsn (Anonymous)
2 years ago

Thanks for this man!

Started to get really confused about the updating problem, I thought that I was the problem :P Now it works perfect!

Peace

frans van de... (Anonymous)
2 years ago

Hi,

 

Thanks for the great tip. My appreciation for the great work!!

2 years ago

i had no trouble installing and everything, but now when i use vuze it says it needs to restart, then it says it cant restart because it needs the plugin vzupdate. i cant find such plugin.. and i installed the beta vuze updater. so what do i do? cause it wont restart and i keep clicking on nthe icon and it never comes up. if i restart my computer it happens all over again. please help!!

Ben (Anonymous)
2 years ago

Ive been a Linux user for all of 1 hour and your guide made this easy. Hadnt used the terminal before but followed instructions step by step and it works...great

Jesus (Anonymous)
2 years ago

Que bien hice todo y estuvo chido para mi funciono Gracias Forlong

Andrew (Anonymous)
2 years ago

Thank you so much for simplifying this for linux noobs like me. This failure to update was driving me nuts.

charger (Anonymous)
2 years ago

great thanks

maniks (Anonymous)
2 years ago

wow thanks . great instructions

Gavin (Anonymous)
2 years ago

FYI, echo/cat | sudo tee is a quick and easy way to avoid launching a gui editor.

echo -e "#\!/bin/sh\nexec /opt/vuze/azureus \"\$@\"" | sudo tee /usr/local/bin/vuze

Ram Kumar S (Anonymous)
2 years ago

Thanks Forlnog for the nice how to.

verdecito (Anonymous)
2 years ago

just perfect thanx a lot ...

TwoWheels (Anonymous)
2 years ago

Sweet! Still works, thank you!

Gajen (Anonymous)
2 years ago

Worked like charm... Thank you very much.

tanner (Anonymous)
2 years ago

 

This tutorial starts with the removal of the previous version of azureus … which could have been installed from the distro. The old azureus from the debian distro uses …


openjdk-6-jre + the many dependencies


When I do a fresh install of debian ... followed by the use of ...


default-jre + dependency *(as per this tutorial)


I get an error ... ie sun java required


But when I installed “openjdk-6-jre + the many dependencies” ... azureus/vuze started ... A-OK

tanner (Anonymous)
2 years ago

--- See ... "How to install Vuze on Ubuntu & Debian" ... tutorial for a different but simular way to do this ... *(link below)

http://ubuntuforums.org/showthread.php?t=995327

Goodluck all ...

Gene (Anonymous)
2 years ago

Thank you so much.

worked perfectly and for once the instructions were simple to follow. Most "guides" seem to leave out a key step or two thinking "any Linux guru should know to do that"  Well if I was one of them I would'nt need guides now would I.

Keep up the good work.

Tarkovsky (Anonymous)
one year ago

Everything worked like a charm. I always used to do a lot of tricky stuff to update my Vuze (actually I rarely updated anymore due to this) when it was so damn simple.

Cheers for the guide! And thank you!

jezus (Anonymous)
one year ago

thank you thank you thank you

sean (Anonymous)
one year ago

in 10.04 go to ubuntu software center search for vuze and install

rifter (Anonymous)
one year ago

Those of you suggesting to go to synaptic to install are missing the point.  No matter what version of Ubuntu you use, the Vuze in the repositories is OUTDATED and also CAN NEVER BE UPDATED.  The whole point of this howto is to have a version of Vuze that is the latest and that is updated.  Also on 64 bit systems you end up with a native 64 bit Vuze this way; I *think* the version in the repos is 32 bit.  

One thing I ran into here that might help others:  the /opt/vuze/azureus script (hardlinked to /opt/vuze/vuze) contains the following line that is absent in the version from the repos (among other things): JAVA_ARGS="-Xmx128m"  This adds an argument to the java call that restricts Vuze to a maximum of 128MB of RAM. On my system that was way too little and caused massive CPU thrashing.  I had to take all references to JAVA_ARGS out of teh script to get rid of it because just changing that to "" or " " did not work (for some reason the script wouldn't go on to the next line and add the -cp (classpath) argument, etc if I did that.  I need to reread the scripto figure out why.  If you don't want the script overwritten on updates you would also need to change SCRIPT_NOT_CHANGED to 1 at the top of the script. Hope this helps.

Shex (Anonymous)
one year ago

Everytime I do a fresh install I open this page, please never take this out ; )

 

calumayoo (Anonymous)
one year ago

thanks a lot man! great!

Matt (Anonymous)
one year ago

This really helped me. Thanks!

C411 (Anonymous)
one year ago

Thanks for the help. Had a hell of a time before I found this.

A. Nonymous (Anonymous)
one year ago

Thanks much!

I owe ya one!

Anonymous (Anonymous)
one year ago

Thanks, it worked like charm.

ealfric (Anonymous)
one year ago

 Sorry in advance if this is painfully noob.

 In the following line do I use $USER or MY username.

sudo chown -R $USER:$USER /opt/vuze/

Deag^ (Anonymous)
one year ago

But when i installed vuze this way firefox cant recognize what the default program to open .torrent files with and when i tell linux (UbuntU 10.04) to open .torrent with vuze it works like it should but firefox wont "Open With" directly with vuze. Even tried  (Edit >  Preferences > applications) and adding the vuze startup script but nothing happens.

its not a huge step to save the torrent file first then run it but its the small things that matter :D

Tom (Anonymous)
one year ago

Deag^ having same issue.. no matter what cute uri or association fix i apply, vuze will not launch directly from firefox. and at the console i get

 

OOPS, you don't seem to have a valid JRE  [/usr/lib/jvm/java-6-sun-1.6.0.20/bin/java = ERROR:]
You need to upgrade to JRE 1.4.x or newer from http://java.sun.com

but when i run it

$/opt/vuze/vuze

it works fine. as do any shortcuts i created.

I even tried a script,(that works in any place other than f.f.)

#!/bin/bash

# copies the current path to a variable for convenience at the command line
OLDPATH=$PWD

cd /opt/vuze
# dollarsign asterisk is "pass any params to ./vuze"
./vuze $*
#use the variable above to go back from where i came instead of vuze directory
cd $OLDPATH

exit 0
#exits cleanly.

no dice for either the magnet: uri setting or the bittorrent seed file association in ff 3.6.8

Tom (Anonymous)
one year ago

Slap me around and call me Susan!! I restarted firefox and went to a different (completely empty) profile.. it worked using the following method after following the aboooove instructions..:

open about:config

network.protocol-handler.app.magnet;/opt/vuze/vuze

network.protocol-handler.expose.magnet;false

network.protocol-handler.external.magnet;true

point various popup dialogs "what do i do with this file" to /opt/vuze/vuze

I then went back to my usual profile and ran through all of the above and ..

  • It continued to work!!

[SHRUG] WtF?! [/SHRUG]

I have NO idea, and reconstructed what I did from the user-set variables in about:config, plus stuff from the below sources.

sources and background reading

http://ubuntuforums.org/showthread.php?t=308130

http://kb.mozillazine.org/Register_protocol#Lin...

http://ubuntuforums.org/showthread.php?t=811037

and of course,

http://forlong.blogage.de/en/entries/2008/12/2/...

^_^

Thank you to ALL of these people, and to Deag^ and the rest of the commenters to the above!

 

Tom

matt (Anonymous)
one year ago

Thanks heaps, the only one to get vuze working properly

coach bags (Anonymous)
one year ago

 

Realmente me gusta. Gracias por compartir con nosotros. *
Antun Klipa (Anonymous)
one year ago

Great work. Thank You!



Add comment


(not required)

Please enter the white text to the text field "code" (spam protection).

U Q U i P