update 9/2015...kernels above 3.14 or so have most of multitouch built in now, so try uninstalling mtrack if you have problems. just the built in multitouch driver and easystroke is working fine for me since kernel 3.14, though the 4.0 and up seem to have a regression that breaks the apple trackpad. 3.18 kernel works great though.
There are numerous solutions, most of which are still a little half-baked. Many of the documented ones are out of date, so make sure you look at the date of whatever you google.
Ubuntu has built in rudimentary gestures (2 finger) support in the mouse/touchpad settings applet.
I found it randomly conked out and two finger scrolling would then be mysteriously greyed out, setting me off on a long chain of googling to maybe get it back.
Then I tried touchegg, which sort of worked sometimes.
It is the easiest to configure and there are good instructions but it is based on an older daemon solution to the problem.
The ubuntu multitouch howto (you'll have to google it as I can only include two links) was badly out of date but is slowly getting worked on. It sort of offers another set of patchy solutions, but is in the process of getting updated.
The solution I am currently using is mtrack (in the repos) combined with easystroke (have to compile from source).
Mtrack supports the kernel version of multitouch rather than an ad hoc solution like touchegg and ginn if I understand right, but easystroke is another daemon solution that seems to work well for now on top of mtrack.
Mtrack's approach seems to be the direction development is taking.
uninstall the other stuff (ginn, touchegg) if you use it and then install mtrack from the repos full name is xserver-xorg-input-mtrack.
It is a pain to configure and I have not gotten three fingers to swipe. See the link at the end of the thread for people's various config files. I use an apple magic trackpad and it is pretty good for that, though it has one annoying glitch in that double-tap and drag for example to move a window is erratic. workaround is to either use an actual button click to move windows, or to hesitate a split second after the double tap and hold before moving the window.
I just found easystroke, and until mtrack gets a gui you might want to try that if you are adventurous enough to try compiling a program.
once compiled by running
make -j2 and installed by
sudo make install, start it with
easystroke -g to get the GUI and go to the wiki page for instructions.
One other issue you may need to sort out is the drivers.
If you use mtrack, you might need to renumber the files so your mtrack driver gets read last or the synaptics settings will grab everything.
Those drivers are stored at /usr/share/X11/xorg.conf.d.
copy the mtrack driver to /etc/X11/xorg.conf.d, edit the settings in that folder (see the linked thread and the README for how) to get your three finger goodness if you can (or use easystroke), and rename the file to a higher number so 50-mtrack.conf becomes 60-mtrack.conf, otherwise I found the synaptic driver will grab your touchpad half the time.
Putting the file in /etc means that it will not get overwritten on updates like the /usr files, and that it is read last and thus takes priority over the default drivers in /usr.
Hope this helps. This is an area of fairly active development, so whatever I write will probably be obsolete within a year, hopefully for the better.