Compiling cgminer on Fedora 19

Hayek's Linux Manual

Walks you through setting up scrypt mining on Fedora 19 with AMD drivers

Description

For some reason people like Ubuntu. I guess the less intimidating version of Linux is good for some people. While I like Arch, Fedora is as cutting edge as I want to be. Unfortunately the support for Bitcoin in Linux is mostly for Ubuntu. The major difference is that we will be using rpm fusion amd drivers instead of official Catalyst drivers from AMD.

This guide will compile cgminer for you. It will enable scrypt mining.

Steps

  • Enable rpm fusion repos
     # rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm
     # rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm
  • Install the following tools
     # yum install curl-devel automake gcc ncurses-devel kmod-catalyst -y
  • Install the APP SDK
    • Download: AMD APP SDK
       # tar -xvf AMD-APP-SDK...tgz
       # ./Install-AMD-APP.sh
  • Reboot
     # reboot
  • Download cgminer
     wget http://ck.kolivas.org/apps/cgminer/3.8/cgminer-3.8.1.tar.bz2
     tar -xvf cgminer-3.8.1.tar.bz2
     unzip -j ADL_SDK_*.zip include/*.h -d cgminer-3.8.1/ADL_SDK/
     cd cgminer-3.8.1
     ./configure --enable-scrypt --enable-opencl
     make
     sudo make install
  • Test your install
    # cgminer -n
    [2013-12-19 17:24:32] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
    [2013-12-19 17:24:32] CL Platform 0 name: AMD Accelerated Parallel Processing                    
    [2013-12-19 17:24:32] CL Platform 0 version: OpenCL 1.2 AMD-APP (1214.3)                    
    [2013-12-19 17:24:32] Platform 0 devices: 1                    
    [2013-12-19 17:24:32] 	0	Tahiti                    
    [2013-12-19 17:24:32] GPU 0 AMD Radeon HD 7900 Series hardware monitoring enabled                    
    [2013-12-19 17:24:32] 1 GPU devices max detected 

Computing


QR Code
QR Code compiling_cgminer_on_fedora_19_hayek.0 (generated for current page)