How To Install ledger on Fedora 34

ledger is A powerful command-line double-entry accounting system A powerful command-line double-entry accounting system

Introduction

In this tutorial we learn how to install ledger on Fedora 34.

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. ledger 3.2.1 3.fc34 x86_64 1.7 M ledger-3.2.1-3.fc34.src.rpm fedora A powerful command-line double-entry accounting system http BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ledger.

Install ledger on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ledger

Install ledger on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install ledger

How To Uninstall ledger on Fedora 34

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

sudo dnf remove ledger

ledger Package Contents on Fedora 34

/etc/bash_completion.d/ledger
/usr/bin/ledger
/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/3f20aa13c6a6f51370c4f717b0a315b3aeb10b
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/be20ee4ba19e4cced7a348c4bb603974ae9c61
/usr/lib/libledger.so.3
/usr/share/doc/ledger
/usr/share/doc/ledger/GLOSSARY.md
/usr/share/doc/ledger/NEWS.md
/usr/share/doc/ledger/README.md
/usr/share/doc/ledger/contrib
/usr/share/doc/ledger/contrib/README
/usr/share/doc/ledger/contrib/bal
/usr/share/doc/ledger/contrib/bal-huquq
/usr/share/doc/ledger/contrib/compilation-ledger.el
/usr/share/doc/ledger/contrib/entry
/usr/share/doc/ledger/contrib/getquote-uk.py
/usr/share/doc/ledger/contrib/getquote.pl
/usr/share/doc/ledger/contrib/ledger-du
/usr/share/doc/ledger/contrib/repl.sh
/usr/share/doc/ledger/contrib/report
/usr/share/doc/ledger/contrib/tc
/usr/share/doc/ledger/contrib/ti
/usr/share/doc/ledger/contrib/to
/usr/share/doc/ledger/contrib/trend
/usr/share/doc/ledger/ledger3.html
/usr/share/doc/ledger/ledger3.pdf
/usr/share/doc/ledger/samples
/usr/share/doc/ledger/samples/demo.ledger
/usr/share/doc/ledger/samples/divzero.dat
/usr/share/doc/ledger/samples/drewr.dat
/usr/share/doc/ledger/samples/drewr3.dat
/usr/share/doc/ledger/samples/sample.dat
/usr/share/doc/ledger/samples/standard.dat
/usr/share/doc/ledger/samples/transfer.dat
/usr/share/doc/ledger/samples/wow.dat
/usr/share/info/ledger3.info.gz
/usr/share/licenses/ledger
/usr/share/licenses/ledger/LICENSE.md
/usr/share/man/man1/ledger.1.gz
/etc/bash_completion.d/ledger
/usr/bin/ledger
/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/0ebd94928119ca8d80dbfc9979967fea83bc1d
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/ec6661940bf137cdce2bbbff964f268828c58a
/usr/lib64/libledger.so.3
/usr/share/doc/ledger
/usr/share/doc/ledger/GLOSSARY.md
/usr/share/doc/ledger/NEWS.md
/usr/share/doc/ledger/README.md
/usr/share/doc/ledger/contrib
/usr/share/doc/ledger/contrib/README
/usr/share/doc/ledger/contrib/bal
/usr/share/doc/ledger/contrib/bal-huquq
/usr/share/doc/ledger/contrib/compilation-ledger.el
/usr/share/doc/ledger/contrib/entry
/usr/share/doc/ledger/contrib/getquote-uk.py
/usr/share/doc/ledger/contrib/getquote.pl
/usr/share/doc/ledger/contrib/ledger-du
/usr/share/doc/ledger/contrib/repl.sh
/usr/share/doc/ledger/contrib/report
/usr/share/doc/ledger/contrib/tc
/usr/share/doc/ledger/contrib/ti
/usr/share/doc/ledger/contrib/to
/usr/share/doc/ledger/contrib/trend
/usr/share/doc/ledger/ledger3.html
/usr/share/doc/ledger/ledger3.pdf
/usr/share/doc/ledger/samples
/usr/share/doc/ledger/samples/demo.ledger
/usr/share/doc/ledger/samples/divzero.dat
/usr/share/doc/ledger/samples/drewr.dat
/usr/share/doc/ledger/samples/drewr3.dat
/usr/share/doc/ledger/samples/sample.dat
/usr/share/doc/ledger/samples/standard.dat
/usr/share/doc/ledger/samples/transfer.dat
/usr/share/doc/ledger/samples/wow.dat
/usr/share/info/ledger3.info.gz
/usr/share/licenses/ledger
/usr/share/licenses/ledger/LICENSE.md
/usr/share/man/man1/ledger.1.gz

References

Summary

In this tutorial we learn how to install ledger on Fedora 34 using yum and dnf.