How to install bitcoin mining software in Ubuntu 14.04 for joining a mining pool?

To mine bitcoins use cpuminer (click here) and avoid any graphical application: a console application is faster and doesn't need much memory. This may be the reason why bitcoin-qt wallet has dropped the official support for bitcoin mining.

You should compile cpuminer from the source code to obtain optimal performance. Binary packages are not optimized for your system and therefore are often slower. To execute the cpuminer installation + compilation procedure on Ubuntu, follow this askUbuntu topic.

WARNING: don't use cpuminer or any miner software on remote hosted machines, it's considered as an abuse of common resources and can be treated as an attack to the hosted system.

NOTE: Bitcoin mining is very time consuming and you need a very powerful network of server machines to obtain even a small result (less than a bitcoin in most cases). This is due to the fact that you are competing with people and organizations running highly specialized hardware (ASIC miners, FPGA devices etc.) which does nothing but compute BTC block hashes 24h a day.

Please don't hesitate to ask by commenting here if you have more questions and don't forget to press the left UP arrow if I'm of any help.

If you earn a coin, please consider the Free Software Foundation BTC donation page.
Good luck.


solution for Asic Block Erupter miner using cgminer

https://github.com/equivalent/scrapbook2/blob/master/bitcoin-mining.md

# run all commands are under su or sudo

# step 1
apt-get install autoconf gcc make git libcurl4-openssl-dev libncurses5-dev libtool libjansson-dev libudev-dev libusb-1.0-0-dev

# step 2
cd /usr/src/
git clone https://github.com/ckolivas/cgminer.git

# step 3
cd cgminer
./autogen.sh --enable-icarus

# step 4
make

# step 5
# Plug your ASICMiner Block Erupter USB’s into the USB ports of your device.

# step 6
./cgminer -o http://your.pool.com:8332 -u username_worker -p yourpassword