BOINC is included in Ubuntu x64 (though it may not be the latest version). You just need to install the BOINC client and manager using the Synaptic Package Manager. Takes about a minute to do. Instructions can be found here.

Installing the latest version of BOINC for Linux x64 is a little more complicated. Follow the instructions on this page.