Browse Source

readme: move ubuntu stuff in INSTALL file, no ads

pull/2/head
Tanguy Pruvot 7 years ago
parent
commit
4d09d856f6
  1. 20
      INSTALL
  2. 28
      README.md

20
INSTALL

@ -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) 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 ** ** How to compile on Fedora 25 **
Note: You may find an alternative method via rpms : Note: You may find an alternative method via rpms :

28
README.md

@ -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) 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) 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. 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 git clone https://github.com/peters/curl-for-windows.git compat/curl-for-windows
# Linux Compile on Linux
----------------
## Ubuntu Please see [INSTALL](https://github.com/tpruvot/ccminer/blob/linux/INSTALL) file or [project Wiki](https://github.com/tpruvot/ccminer/wiki/Compatibility)
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
```

Loading…
Cancel
Save