This is almost my first time on linux.
I did this in latest Ubuntu in virtual machine Windows 10 Pro and Hyper V.
There might be something that more experienced users notice that are unecessary options, so please advice.
I figured all this out almost by myself, but i gotta thank @cryptocoderz and @amorejaz for getting me started.
Okay, here we go, hold on to your hats and take off your pants:
First go here: https://bitcointalksearch.org/topic/ann-cpuminer-opt-v3881-open-source-optimized-multi-algo-cpu-miner-1326803
Download the file from first post and REMEMBER TO THANK joblo <--- This part is THE most necessary
(you can even chip some btc in the address of his sig)
after downloading go to your Downloads folder and double click cpuminer-opt-3.2.4.tar.gz
then extract and choose a location to extract. (i used the destination it gave me in this guide)
Now open terminal and type:
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config libgmp3-dev libssl-dev libboost-all-dev automake yasm
after that part is done type:
cd Downloads
cd cpuminer-opt-3.2.4
./autogen.sh
./configure CFLAGS="-O3 -march=native" --with-crypto --with-curl (that red text is -O3, not -03, not -zero3)
make
./cpuminer -q -a hmq1725 -o stratum+tcp://esp.suprnova.cc:3453 -u user.1 -p 1 (that is gpu port for suprnova since i read that it was better to use with this miner)
And that's it.
Hope this is helpful and you can always ask if you have questions, but i'm not sure if i can answer, since this really was first time i compiled anything.
My hashrate is around +200kh/s with i7-4790K @ 4.7GHZ vs older miner 130KH/S
Thanks @joblo
Thank you but you missed just one thing:
sudo apt-get install build-essential
This was also my first time with mint linux, and it required that for it to run the "make" command. But i was 205 kh/s on my i7-6700k. I get 109~ kh/s on windows 10
Maybe that is included in latest ubuntu but not in mint. So do you have win version compiled of that miner now?