UbuntuHak: Bitcoin Basics and Ubuntu 12.04

Ubuntu Bitcoin Miner

Bitcoin Mining / September 20, 2020

I'm a total noob regarding bitcoin mining, I've installed cgminer using apt-get install but I can't get it to work.

I start it with this command:

  1. Install Ubuntu
  2. Install updates
    sudo apt-get update
  3. Install updates for your graphics card
  4. Install misc packages
    sudo apt-get install gedit git libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
  5. Edit grub configuration
    sudo gedit /etc/default/grub
    Edit GRUB_TIMEOUT=10 to GRUB_TIMEOUT="10" sudo update-grub
  6. Reboot.
  7. git clone
  8. Check dependencies for cgminer. cd ~/cgminer ./autogen.sh
  9. Create the build script: CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure
  10. make
  11. Run using export DISPLAY=:0; export GPU_USE_SYNC_OBJECTS=1; ./cgminer -n

The first few times I tried I got an error that repeatedly said:

KnC spiL Can not open SPI device /dev/spidev1.0: No such file or directory.

NowI'm getting a terminal that looks like this, and I have no idea. I've googled select sections of the code but can't figure out what it's all about. Any suggestions would be gratefully received. Thanks.

Source: bitcoin.stackexchange.com