How To Install quitcount on Fedora 34

quitcount is A tool for people who quit smoking

Introduction

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

What is quitcount

QuitCount is a simple counter that shows what you spared since you quit smoking. Once you tell it the date you quit, how much you smoked, and how much it cost, it’ll tell you how many cigarettes you didn’t smoke since, and how much it makes in terms of money, tar, and life expectancy.

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

Install quitcount 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 quitcount using dnf by running the following command:

sudo dnf -y install quitcount

Install quitcount 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 quitcount using yum by running the following command:

sudo yum -y install quitcount

How To Uninstall quitcount on Fedora 34

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

sudo dnf remove quitcount

quitcount Package Contents on Fedora 34

/etc/xdg/autostart/quitcount.desktop
/usr/bin/quitcount
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/6183c3fc5c80cde683d997db34fbf616fb5460
/usr/share/appdata/quitcount.appdata.xml
/usr/share/applications/quitcount.desktop
/usr/share/doc/quitcount
/usr/share/doc/quitcount/AUTHORS
/usr/share/doc/quitcount/COPYING
/usr/share/doc/quitcount/ChangeLog
/usr/share/doc/quitcount/README
/usr/share/icons/hicolor/scalable/apps/quitcount-tu.svg
/usr/share/icons/hicolor/scalable/apps/quitcount.svg
/usr/share/locale/ast/LC_MESSAGES/quitcount.mo
/usr/share/locale/cs/LC_MESSAGES/quitcount.mo
/usr/share/locale/de/LC_MESSAGES/quitcount.mo
/usr/share/locale/el/LC_MESSAGES/quitcount.mo
/usr/share/locale/es/LC_MESSAGES/quitcount.mo
/usr/share/locale/fr/LC_MESSAGES/quitcount.mo
/usr/share/locale/he/LC_MESSAGES/quitcount.mo
/usr/share/locale/hu/LC_MESSAGES/quitcount.mo
/usr/share/locale/it/LC_MESSAGES/quitcount.mo
/usr/share/locale/ro/LC_MESSAGES/quitcount.mo

References

Summary

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