How To Install ghc-clock on Fedora 36
Introduction
In this tutorial we learn how to install ghc-clock
on Fedora 36.
What is ghc-clock
A package for convenient access to high-resolution clock and timer functions of different operating systems via a unified API.
We can use yum
or dnf
to install ghc-clock
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-clock.
Install ghc-clock 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 ghc-clock
using dnf
by running the following command:
sudo dnf -y install ghc-clock
Install ghc-clock 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 ghc-clock
using yum
by running the following command:
sudo yum -y install ghc-clock
How To Uninstall ghc-clock on Fedora 36
To uninstall only the ghc-clock
package we can use the following command:
sudo dnf remove ghc-clock
ghc-clock Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/f6bdf3b1083b267aa90f695b91c334c50f5504
/usr/lib64/libHSclock-0.8.2-HzLA8vHWNIPCZUP6ob9n4H-ghc8.10.5.so
/usr/share/licenses/ghc-clock
/usr/share/licenses/ghc-clock/LICENSE
References
Summary
In this tutorial we learn how to install ghc-clock
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).