cgminer command not found

In this troubleshooting guide we learn how to fix cgminer command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

cgminer: command not found

or when using sudo you get the following error message

sudo: cgminer: command not found

Solutions to cgminer: command not found

How To Fix cgminer: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cgminer is provided by cgminer package.

cgminer is:

Bitcoin miner software with multi-threaded multi-pool mining support.

BitCoins are a digital currency, exchanged freely against all other currencies. Coins may be issued by everyone, one just needs considerable computer power - and luck. To even out rewards for one’s contribution, many initiative have forms to provide pools of computers and share the load.

To fix this problem, we can install more using the command below.

sudo apt-get -y install cgminer

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install cgminer.

sudo apt -y install cgminer

Or if you have aptitude installed you can use the following command.

sudo aptitude install cgminer

Summary

In this tutorial we learn how to fix cgminer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.