#not sure why I have to keep doing the fix missing, but this works for me

apt-get install libcurl3-openssl-dev libncurses5-dev pkg-config automake yasm make build-essential 

apt-get update --fix-missing

apt-get install libcurl3-openssl-dev libncurses5-dev pkg-config automake yasm make build-essential 

mkdir downloads

cd downloads

wget http://garr.dl.sourceforge.net/project/cpuminer/pooler-cpuminer-2.4.2.tar.gz

tar -xvf pooler-cpuminer-2.4.2.tar.gz

cd cpuminer-2.4.2/

./configure 

make

make install

minerd --url http://xxx.xxx.xxx.xxx:9327

minerd --url http://xxx.xxx.xxx.xxx:9327 --userpass SomefakeAccountName:FakePass

#Since I have a lot of miners I set my fakeAccount name to things like Miner1, LapTopMiner, etc..

#For fake password I just use x