How To Install hledger on Fedora 36

In this tutorial we learn how to install hledger in Fedora 36. hledger is Command-line interface for the hledger accounting system

Introduction

In this tutorial we learn how to install hledger on Fedora 36.

What is hledger

The command-line interface for the hledger accounting system. Its basic function is to read a plain text file describing financial transactions and produce useful reports. hledger is a robust, cross-platform set of tools for tracking money, time, or any other commodity, using double-entry accounting and a simple, editable file format, with command-line, terminal and web interfaces. It is a Haskell rewrite of Ledger, and one of the leading implementations of Plain Text Accounting. Read more at

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

Install hledger on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install hledger

Install hledger on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install hledger

How To Uninstall hledger on Fedora 36

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

sudo dnf remove hledger

hledger Package Contents on Fedora 36

/usr/bin/hledger
/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/982997ba1b52a4d9a89b9c8d9d3216c65eeda8
/usr/share/doc/hledger
/usr/share/doc/hledger/CHANGES.md
/usr/share/doc/hledger/README.md
/usr/share/licenses/hledger
/usr/share/licenses/hledger/LICENSE
/usr/share/man/man1/hledger.1.gz

References

Summary

In this tutorial we learn how to install hledger on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).