How To Install golang-github-mholt-archiver on Fedora 36

In this tutorial we learn how to install golang-github-mholt-archiver in Fedora 36. golang-github-mholt-archiver is Easily create and extract archive files with Go

Introduction

In this tutorial we learn how to install golang-github-mholt-archiver on Fedora 36.

What is golang-github-mholt-archiver

Package Archiver makes it trivially easy to make and extract common archive formats such as zip and tarball (and its compressed variants). Simply name the input and output file(s). The arc command runs the same on all platforms and has no external dependencies (not even libc). It is powered by the Go standard library and several third-party, pure-Go libraries.

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

Install golang-github-mholt-archiver 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 golang-github-mholt-archiver using dnf by running the following command:

sudo dnf -y install golang-github-mholt-archiver

Install golang-github-mholt-archiver 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 golang-github-mholt-archiver using yum by running the following command:

sudo yum -y install golang-github-mholt-archiver

How To Uninstall golang-github-mholt-archiver on Fedora 36

To uninstall only the golang-github-mholt-archiver package we can use the following command:

sudo dnf remove golang-github-mholt-archiver

golang-github-mholt-archiver Package Contents on Fedora 36

/usr/bin/archiver
/usr/lib/.build-id
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/f820bba27ae882bd15584677314910d52e87fd
/usr/share/doc/golang-github-mholt-archiver
/usr/share/doc/golang-github-mholt-archiver/README.md
/usr/share/licenses/golang-github-mholt-archiver
/usr/share/licenses/golang-github-mholt-archiver/LICENSE

References

Summary

In this tutorial we learn how to install golang-github-mholt-archiver on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).