Running a command line bitcoin CPU miner on ubuntu for slush's pool I don't intend to do this long term as I am pretty sure the cost of the power would exceed the earnings, this is more for educational purposes. What I'm looking for is a command line miner for Ubuntu. What I've tried so far is using poclbm.py

./poclbm.py -d 0 http://worker:pass@api.bitcoin.cz:8332


however this only gives me 

No PyOpenCL


Not using OpenCL


Nothing to mine on, exiting


I've found several guides on how to use poclbm however they seem to be out of date. That is to say that the command line arguments don't match up with the current project. I also have pyserial installed.

To sum it all up I don't care if I use poclbm or not I'm just looking for a tool to get up and running.
I suggest to use one of the updated cpuminer versions which support more than one algorithm. This way you are also set up to mine different coins which use other PoW functions. The most versatile one is tpruvot's fork:cpuminer-multi. For me this one worked out of the box on a recent Ubuntu 14.04 installation.

The syntax is similar to all other cpuminer versions:
cpuminer -a sha256d -o stratum+tcp://pool.com:port -O username.workername -p password