How To Install ledger on CentOS 7

In this tutorial we learn how to install ledger on CentOS 7. ledger is A powerful command-line double-entry accounting system

Introduction

In this tutorial we learn how to install ledger on CentOS 7.

What is ledger

Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. This may put off some users — as there is no flashy UI — but for those who want unparalleled reporting access to their data, there really is no alternative.

We can use yum or dnf to install ledger on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ledger.

Install ledger on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ledger using yum by running the following command:

sudo yum -y install ledger

Install ledger on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install ledger using dnf by running the following command:

sudo dnf -y install ledger

How To Uninstall ledger on CentOS 7

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

sudo dnf remove ledger

References

Summary

In this tutorial we learn how to install ledger on CentOS 7 using yum and dnf.