How To Install ghc-cautious-file on Fedora 36

In this tutorial we learn how to install ghc-cautious-file in Fedora 36. ghc-cautious-file is Write files cautiously

Introduction

In this tutorial we learn how to install ghc-cautious-file on Fedora 36.

What is ghc-cautious-file

Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures. If the posix flag is enabled, posix-specific functions are used to reduce the chance of data loss further.

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

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

sudo dnf -y install ghc-cautious-file

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

sudo yum -y install ghc-cautious-file

How To Uninstall ghc-cautious-file on Fedora 36

To uninstall only the ghc-cautious-file package we can use the following command:

sudo dnf remove ghc-cautious-file

ghc-cautious-file Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/67dfcdc8f1c23b29e28f39994054e6e70e7fa9
/usr/lib64/libHScautious-file-1.0.2-LC2JOLIOEo252uX29yz1Fc-ghc8.10.5.so
/usr/share/licenses/ghc-cautious-file
/usr/share/licenses/ghc-cautious-file/LICENSE

References

Summary

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