How To Install ghc-tar on Fedora 36
Introduction
In this tutorial we learn how to install ghc-tar
on Fedora 36.
What is ghc-tar
This library is for working with “’.tar’” archive files. It can read and write a range of common variations of archive format including V7, POSIX USTAR and GNU formats. It provides support for packing and unpacking portable archives. This makes it suitable for distribution but not backup because details like file ownership and exact permissions are not preserved. It also provides features for random access to archive content using an index.
We can use yum
or dnf
to install ghc-tar
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-tar.
Install ghc-tar 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-tar
using dnf
by running the following command:
sudo dnf -y install ghc-tar
Install ghc-tar 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-tar
using yum
by running the following command:
sudo yum -y install ghc-tar
How To Uninstall ghc-tar on Fedora 36
To uninstall only the ghc-tar
package we can use the following command:
sudo dnf remove ghc-tar
ghc-tar Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/47e912153f43415b77f09fd07fc350aded7dfc
/usr/lib64/libHStar-0.5.1.1-8hLo2CSPE6OJGMHwTpVd1P-ghc8.10.5.so
/usr/share/licenses/ghc-tar
/usr/share/licenses/ghc-tar/LICENSE
References
Summary
In this tutorial we learn how to install ghc-tar
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).