How To Install ghc-filepath-bytestring on Fedora 36
Introduction
In this tutorial we learn how to install ghc-filepath-bytestring
on Fedora 36.
What is ghc-filepath-bytestring
This package provides functionality for manipulating ‘RawFilePath’ values. It can be used as a drop in replacement for the filepath library to get the benefits of using ByteStrings. It provides three modules * “System.FilePath.Posix.ByteString” manipulates POSIX/Linux style ‘RawFilePath’ values (with ‘/’ as the path separator). * “System.FilePath.Windows.ByteString” manipulates Windows style ‘RawFilePath’ values (with either ‘' or ‘/’ as the path separator, and deals with drives). * “System.FilePath.ByteString” is an alias for the module appropriate to your platform. All three modules provide the same API, and the same documentation (calling out differences in the different variants).
We can use yum
or dnf
to install ghc-filepath-bytestring
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-filepath-bytestring.
Install ghc-filepath-bytestring 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-filepath-bytestring
using dnf
by running the following command:
sudo dnf -y install ghc-filepath-bytestring
Install ghc-filepath-bytestring 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-filepath-bytestring
using yum
by running the following command:
sudo yum -y install ghc-filepath-bytestring
How To Uninstall ghc-filepath-bytestring on Fedora 36
To uninstall only the ghc-filepath-bytestring
package we can use the following command:
sudo dnf remove ghc-filepath-bytestring
ghc-filepath-bytestring Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/b971c0d9318f5f3e42a0fd649ccf1413978493
/usr/lib64/libHSfilepath-bytestring-1.4.2.1.7-A7M2IF3eXzY2ycf2EWMRRO-ghc8.10.5.so
/usr/share/licenses/ghc-filepath-bytestring
/usr/share/licenses/ghc-filepath-bytestring/LICENSE
References
Summary
In this tutorial we learn how to install ghc-filepath-bytestring
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).