How To Install bfgminer on Ubuntu 18.04

In this tutorial we learn how to install bfgminer on Ubuntu 18.04. bfgminer is multi-threaded multi-pool ASIC, FPGA and GPU bitcoin miner

Introduction

In this tutorial we learn how to install bfgminer on Ubuntu 18.04.

What is bfgminer

bfgminer is:

Bitcoin miner software with multi-threaded multi-pool GPU, FPGA and ASIC 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.

There are three methods to install bfgminer on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install bfgminer Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install bfgminer using apt-get by running the following command:

sudo apt-get -y install bfgminer

Install bfgminer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install bfgminer using apt by running the following command:

sudo apt -y install bfgminer

Install bfgminer Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install bfgminer using aptitude by running the following command:

sudo aptitude -y install bfgminer

How To Uninstall bfgminer on Ubuntu 18.04

To uninstall only the bfgminer package we can use the following command:

sudo apt-get remove bfgminer

Uninstall bfgminer And Its Dependencies

To uninstall bfgminer and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove bfgminer

Remove bfgminer Configurations and Data

To remove bfgminer configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge bfgminer

Remove bfgminer configuration, data, and all of its dependencies

We can use the following command to remove bfgminer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge bfgminer

References

Summary

In this tutorial we learn how to install bfgminer package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.