= How-To build CPUMiner for Bitcoin from sources on Ubuntu 14.04 Trusty Tahr =

=== Install additional Software ===
{{{
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
}}} 

=== Download and install CPUMiner Source ===
{{{
git clone https://github.com/pooler/cpuminer.git
cd cpuminer
}}} 

=== Configure and Compile CPUMiner from sources on Ubuntu 14.04 Trusty Tahr ===
{{{
./autogen.sh
./configure CFLAGS="-O3"
make
sudo checkinstall
}}} 

=== Install the new compiled CPUMiner .deb Package ===
{{{
If the build is successful, .deb binary package file will be produced like

    cd ..
    ls *.deb
       cpuminer_2.4-1_i386.deb

Install the package set (on your build system, or on a different target system) with dpkg -i:

    sudo dpkg -i cpuminer_2.4-1_i386.deb
}}}

=== Further Documentation ===
    * [[https://github.com/pooler/cpuminer|CPUMiner Sources]]
    * [[https://bitcointalk.org/index.php?topic=55038.0|CPUMiner Website]]
----
CategorySoftware