user4751: 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.

user13700: You can use cpuminer. Just make sure you have all the dependencies, compile, and run:
minerd -o stratum+tcp://name-of-pool.com:port -O username.workername:password


user30511: After spinning-up my Raspberry Pi and registering an account at slushpool I've had success with the following process:

sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++ git
git clone https://github.com/tpruvot/cpuminer-multi
cd cpuminer-multi
./autogen.sh
./build.sh
Check out the commands: ./cpuminer --help
./cpuminer -u slashpool_user_name.slashpool_worker -p pass -a sha256d -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads
For Litecoin: ./cpuminer -u slashpool_username.slashpool_worker -p pass -a scrypt -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads


user23222: 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

4751: <p>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 <code>poclbm.py</code></p>

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

<p>however this only gives me </p>

<pre><code>No PyOpenCL


Not using OpenCL


Nothing to mine on, exiting
</code></pre>

<p>I've found several guides on how to use <code>poclbm</code> 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.</p>

<p>To sum it all up I don't care if I use <code>poclbm</code> or not I'm just looking for a tool to get up and running.</p>
 13700: <p>You can use <a href="https://github.com/pooler/cpuminer" rel="nofollow">cpuminer</a>. Just make sure you have all the dependencies, compile, and run:</p>

<pre><code>minerd -o stratum+tcp://name-of-pool.com:port -O username.workername:password
</code></pre>
 30511: <p>After spinning-up my <a href="https://rads.stackoverflow.com/amzn/click/B01C6Q2GSY" rel="nofollow noreferrer">Raspberry Pi</a> and registering an account at <a href="https://slushpool.com" rel="nofollow noreferrer">slushpool</a> I've had success with the following process:</p>

<ol>
<li><code>sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++ git</code></li>
<li><code>git clone https://github.com/tpruvot/cpuminer-multi</code></li>
<li><code>cd cpuminer-multi</code></li>
<li><code>./autogen.sh</code></li>
<li><code>./build.sh</code></li>
<li>Check out the commands: <code>./cpuminer --help</code></li>
<li><code>./cpuminer -u slashpool_user_name.slashpool_worker -p pass -a sha256d -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads</code></li>
<li>For Litecoin: <code>./cpuminer -u slashpool_username.slashpool_worker -p pass -a scrypt -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads</code></li>
</ol>
 23222: <p>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:<a href="https://github.com/tpruvot/cpuminer-multi" rel="nofollow">cpuminer-multi</a>. For me this one worked out of the box on a recent Ubuntu 14.04 installation.</p>

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