1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-08-26 05:42:02 +00:00

readme: move ubuntu stuff in INSTALL file, no ads

This commit is contained in:
Tanguy Pruvot 2017-09-20 05:08:23 +02:00
parent e3e848149c
commit 4d09d856f6
2 changed files with 101 additions and 101 deletions

20
INSTALL
View File

@ -9,6 +9,26 @@ where your CUDA 6.5 toolkit is installed (usually /usr/local/cuda,
but some distros may have a different default location)
** How to compile on Ubuntu (16.04 LTS)
First, install Cuda toolkit and nVidia Driver, and type `nvidia-smi` to check if your card is detected.
Install dependencies
```sudo apt-get install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential```
Ubuntu is now shipped with gcc 6 or 7 so please install gcc/g++ 5 and make it the default (required by the cuda toolkit)
```
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
```
Then use the helper ./build.sh in ccminer source folder, edit configure.sh and the Makefile.am if required.
```
./build.sh
./ccminer --version
```
** How to compile on Fedora 25 **
Note: You may find an alternative method via rpms :

View File

@ -9,7 +9,7 @@ BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)
A part of the recent algos were originally written by [djm34](https://github.com/djm34) and [alexis78](https://github.com/alexis78)
This variant was tested and built on Linux (ubuntu server 14.04, 16.04, Fedora 22 to 25)
It is also built for Windows 7 to 10 with VStudio 2013, to stay compatible with Windows Vista.
It is also built for Windows 7 to 10 with VStudio 2013, to stay compatible with Windows 7 and Vista.
Note that the x86 releases are generally faster than x64 ones on Windows, but that tend to change with the recent drivers.
@ -30,27 +30,7 @@ To rebuild them, you need to clone this repository and its submodules :
git clone https://github.com/peters/curl-for-windows.git compat/curl-for-windows
# Linux
Compile on Linux
----------------
## Ubuntu
Install dependencies
```sudo apt-get install git libcurl4-openssl-dev nvidia-cuda-toolkit build-essential```
Ubuntu is shipped with Gcc 7 so install Gcc 5 and make it the default
```
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
```
Clone code
```
git clone https://github.com/tpruvot/ccminer.git
cd ccminer
```
Use the helper ./build.sh (edit configure.sh and the Makefile.am if required)
```
./build.sh
./ccminer --version
```
Please see [INSTALL](https://github.com/tpruvot/ccminer/blob/linux/INSTALL) file or [project Wiki](https://github.com/tpruvot/ccminer/wiki/Compatibility)