It's not a typo. libdb++ is needed, and also installs libdb as dependency. I usually try my one-liners before (and sometimes after) posting them. Notice how I also added automatic detection of number of processors, for efficency

Oops, Ubuntu 11.10 doesn't have that version (I just updated this PC today). It has 5.1 but 10.10 doesn't. I've updated the post to autodetect the last libdb++ version. Hopefully it will work now on any Ubuntu, at least since 10.04.

You need recent GPU drivers for that (at least for nvidia, I don't know about ati), so update Ubuntu to 11.10 if you haven't already. Also you'll need a 64 bit distro (I suppose it could work on 32 bit, but having a 64 bit cpu it's pointless not to use a 64 bit linux; cpu intensive tasks perform much better).

New question. Would you be able to help me out with Ubuntu installation instructions for a CPU miner such as Ufasoft? (I know CPU mining is not economically feasible, I'm doing this as a learning experience).

New question. Would you be able to help me out with Ubuntu installation instructions for a CPU miner such as Ufasoft? (I know CPU mining is not economically feasible, I'm doing this as a learning experience).

Sorry for late reply. Use the same instructions above but adding these options to cgminer: -C -G (both upper case, C enables cpu mining and G disables gpu mining).