How to install etherminer
Step1:
$ sudo apt-get install software-properties-common git cmake
$ sudo add-apt-repository -y ppa:ethereum/ethereum
$ sudo apt-get update
$ sudo apt-get install ethereum
Step2:
$ mkdir ~/ethminer; cd ~/ethminer
$ git clone https://github.com/ethereum-mining/ethminer .
$ git submodule init
$ git submodule update
$ mkdir build; cd build
$ cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF
$ cmake --build .
$ sudo make install
Step temp:
When you face errors with the following command,
"cmake --build ."
check the following list:
- Boost installation fails
(https://cspot321.blogspot.com/2021/08/boost-fails-to-download-ethminer.html)
- Solving unsupported GNU version problem (etherminer, etherium)
(https://cspot321.blogspot.com/2021/08/solving-unsupported-gnu-version-problem.html)