This package will build an optimized (-march=native) binary on your own system. Everytime the package version or your GCC version or your hardware change, the wrapper script will detect the change and triggers a new build.
It also features a systemd script (with minimal resources impact) and a legacy script for easy system integration (not starting by default).
Please make sure to read README.Debian (also displayed while installing to configure cpuminer-opt correctly. Otherwise you'll be very likely to mine for me.
To add this repository, just run the three commands below as root:
echo "deb http://packages.le-vert.net/mining/distribution version main" > /etc/apt/sources.list.d/packages_le_vert_net_mining.list wget -O - https://packages.le-vert.net/packages.le-vert.net.gpg.key | apt-key add - apt-get update && apt-get install cpuminer-opt
distribution can be debian or ubuntu.
version can be wheezy jessie stretch buster sid or trusty xenial yakkety zesty artful
During installation /usr/share/doc/cpuminer-opt/README.Debian file will be displayed, explaining how to configure miner and how to make it start automatically.
In case of any issue, drop me a mail