How To Install ghc-xdg-userdirs on Fedora 36
Introduction
In this tutorial we learn how to install ghc-xdg-userdirs
on Fedora 36.
What is ghc-xdg-userdirs
On Unix platforms, this should be a very straightforward implementation of the XDG User Directory spec. On Windows, it will attempt to do the right thing with regards to choosing appropriate directories.
We can use yum
or dnf
to install ghc-xdg-userdirs
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-xdg-userdirs.
Install ghc-xdg-userdirs 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-xdg-userdirs
using dnf
by running the following command:
sudo dnf -y install ghc-xdg-userdirs
Install ghc-xdg-userdirs 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-xdg-userdirs
using yum
by running the following command:
sudo yum -y install ghc-xdg-userdirs
How To Uninstall ghc-xdg-userdirs on Fedora 36
To uninstall only the ghc-xdg-userdirs
package we can use the following command:
sudo dnf remove ghc-xdg-userdirs
ghc-xdg-userdirs Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/16f1b4cf9413bbe1a240fe6834baef6bfa2c18
/usr/lib64/libHSxdg-userdirs-0.1.0.2-IrTtpDPsgle8LmWYpDwb9c-ghc8.10.5.so
/usr/share/licenses/ghc-xdg-userdirs
/usr/share/licenses/ghc-xdg-userdirs/LICENSE
References
Summary
In this tutorial we learn how to install ghc-xdg-userdirs
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).