On Debian-based distributions, such as Ubuntu, you can install Hudson through apt-get.

  1. Add the following line to your /etc/apt/sources.list:
    deb http://hudson-ci.org/debian binary/
    
  2. Update the APT index:
    sudo apt-get update
    
  3. Install Hudson:
    sudo apt-get install hudson
    

Comment:

Doesn't work on modern Ubuntu:

sudo apt-get install hudson 

...

The following packages have unmet dependencies:
  hudson: Depends: daemon but it is not going to be installed
 

Works on Debian Lenny

Worked on Karmic for me -- RobertCollins

If you need daemon, then just add it to the install command:

sudo apt-get install hudson daemon

Worked fine in Jaunty for me and picked up the daemon dependency automatically - DanKlco