Compiling cpuminer-opt on Ubuntu 18.04
Please, do not directly quote this message!
Step 1: Installing Dependencies
To compile and run cpuminer-opt, your system will need to download a few programs. These are mission-critical for a successful compile. The following command will download and automatically install the programs necessary:
sudo apt-get install build-essential libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake zlib1g-dev
Some of these programs will require that your system be updated to the latest LTS release of Ubuntu. Some versions of the programs necessary for cpuminer-opt to run are not contained in the repositories of older Ubuntu releases. You should update your system to Ubuntu 18.04 LTS if you haven't already.
Step 2: Downloading the Source Code
Execute the command below to download Version 3.8.8.1 of the program to your working directory, extract it, then change into the newly extracted folder: (execute each of these lines, one at a time)
tar xvzf v3.8.8.1.tar.gz
cd ./cpuminer-opt-3.8.8.1
Step 3: Compiling the Program
Execute the command below to compile the program: (Again, execute each of these lines, one at a time):
./autogen.sh
CFLAGS=”-03 -march=native -Wall” ./configure –with-curl
make
If you plan on installing this to your system, make sure to change “make” to “sudo make install”, and if you encounter any issues, I'll try to remain open here to answer them to the best of my abilities. Hope this helped some!
well thats was to easy it was all ready compile in the arch aur repos got it installl but didnt see any info on the commadns to fire it up so i did this
-u myusername -p x ) it works i am solo mining now on all 16 treads instead of the 8 the other gui miner was doing. not sure all the commands or best way to run it but yeah it works thanks... UPDATE... found out i dont need the /usr/bin to run it now i made a start up script ( cpuminer -a m7m -o