Install CGMINER Latest – Ubuntu

Install CGMINER Latest - Ubuntu Bitcoin is a decentralized digital currency based on an open-source protocol that was created by a pseudonymous developer named Satoshi Nakamoto. One bitcoin is divided into 100-million smaller units called satoshis. There is a hard limit of 21-million bitcoins in total, which are released at a scheduled rate until the year 2140.

Internationally, bitcoins can be exchanged by personal computer directly through a wallet file or a website. They can also be exchanged through physical banknotes and coins.

Unlike most currencies, bitcoin does not rely on a central issuer, like a central bank or government. Instead, bitcoin uses a transaction log across a peer-to-peer computer network to record transactions, verify them and prevent double spending. The verification process awards effective bitcoin nodes or “bitcoin miners” with a limited release of bitcoins and transaction fees (if any). This process requires intense computing power, electricity and significant investment as it solves hashes through bruteforce to verify transactions and add them to the network’s transaction log.

As of January 2013, bitcoin is the most widely used alternative currency. All bitcoins converted at the current market price would be worth over 200 million US dollars.

Note: this example is for AMD/ATI video cards and may only work for those listed on the hardware list So you may wish to check for your hardware before you begin.

If you simply wish to upgrade your cgminer skip to step #19.

Install CGMINER Latest – Ubuntu

1. Install the dependencies

$ sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config libtool yasm autogen automake

2. List your ATI/AMD cards so you can see them

$ sudo aticonfig --lsa

The output should be similar to this.

$ sudo aticonfig --lsa
[sudo] password for user: 
* 0. 01:00.0 ATI Radeon HD 5700 Series

* - Default adapter

3. Configure your card/’s

$ sudo aticonfig --adapter=all --initial

4. Reboot to make changes take effect

$ sudo reboot

5. Check to see if cards are accessible

$ sudo aticonfig --adapter=all --odgt

The output should be similar to this

$ sudo aticonfig --adapter=all --odgt

Adapter 0 - ATI Radeon HD 5700 Series
            Sensor 0: Temperature - 67.00 C

6. Enter tmp directory

$ cd /tmp

7. Become Super User

$ sudo su

Enter Password for root.

8. Download AMD-APP-SDK

Note: By downloading this file you autocratically agree to the AMD License Agreement here
For 32bit only

# wget

For 64bit only

# wget

9. Untar the file

For 32bit only

# tar -xvzf AMD-APP-SDK-v2.8-lnx32.tgz

This will give you two more .tar files.
a. AMD-APP-SDK-v2.8-RC-lnx32.tgz
b. icd-registration.tgz
For 64bit only

# tar -xvzf AMD-APP-SDK-v2.8-lnx64.tgz

This will give you two more .tar files.
a. AMD-APP-SDK-v2.8-RC-lnx64.tgz
b. icd-registration.tgz

10. Untar AMD-APP-SDK-v2.8-RC file

For 32bit only

# tar -xvzf AMD-APP-SDK-v2.8-RC-lnx32.tgz

For 64bit only

# tar -xvzf AMD-APP-SDK-v2.8-RC-lnx64.tgz

11. Enter the new directory

For 32bit only

# cd AMD-APP-SDK-v2.8-RC-lnx32

For 64bit only

# cd AMD-APP-SDK-v2.8-RC-lnx64

12. Copy Library Files.

For 32bit only

# cp -pv lib/x86/* /usr/lib/

For 64bit only

# cp -pv lib/x86_64/* /usr/lib/

13. Copy the include files to your hard drive

For Eather 32bit or 64bit

# rsync -avl include/CL/ /usr/include/CL/

14. Navigate back to /tmp directory

# cd ..

15. Untar icd-registration.tgz

# tar -xvzf icd-registration.tgz
  • Pingback: Bitcoin | Pearltrees

  • Jon Daniels

    Which version of ubuntu are you using for this install?

  • Celtic

    This guide works perfect!! Thank you! How do I send Litecoins your way for putting this together?

  • jp

    Dude, thank you!

  • Joel

    Thanks for the great post, this worked perfectly on xubuntu 13.04!

  • devnull

    Thanks man

  • Al

    Thank you, It works until I get here:
    cp ../include/* ADL_SDK/

    Then I get:
    cp: target `ADL_SDK/’ is not a directory

    • anonymous

      Did you ever solve this? I have the same issue.

      • Al

        No, I have tried for a week. I think that something is wrong with the path but I haven’t been able to fix it. I did email the author and am hoping for an update. I will post if I can figure it out. It worked perfectly for me in August but something seems to have changed.

        • anonymous

          Thank you I was thinking it was just me I assuem there’s been a change in ubuntu.

          • andrelf

            cgminer stopped to support GPU mining. So, just download an older version of cgminer (e.g. 3.6.0) and it will work.

          • Al

            That is not the issue, but thanks. GPU mining is supported up to cgminer 3.72. This is not working because of a path problem I think. Step 24: results in =>

            cp: target `ADL_SDK/’ is not a directory

          • Billy Williams

            Download it from ati site and move it from your download dir. It needs to be in you home folder

          • Al

            Thank you, I shall try that.

  • anonymous

    cgminer-master# cp ../include/* ADL_SDK/
    cp: target `ADL_SDK/’ is not a directory

    step 24 tried redoing this over and over same issue everytime.

  • utuxia

    i don’t have aticonfig

  • bcs

    The file on step 20 is corrupt, unzip doesn’t recognize it as a valid zip file.

  • Billy Williams

    All you have to do is download adl-sdk from ati site and move it to you home folder. It will work, But that one guy was right when he said, to use older miner. I have had problems with 3.7 for awhile and I now use 3.6. I even use this on my windows builds. Are you familar with linux builds.

  • Paul

    Excellent guide! Thank you very much, all works perfectly. For those that it is not working, perhaps you need to be a superuser first, sudo su, and of course think a little bit what the instructions actually mean.

    Anyway, thanks again for your help