How To Install patool on Fedora 36

In this tutorial we learn how to install patool in Fedora 36. patool is Portable command line archive file manager

Introduction

In this tutorial we learn how to install patool on Fedora 36.

What is patool

Patool is an archive file manager. Various archive formats can be created, extracted, tested, listed, searched, repacked and compared with patool. The advantage of patool is its simplicity in handling archive files without having to remember a myriad of programs and options. The archive format is determined by the file(1) program and as a fallback by the archive file extension. patool supports 7z (.7z, .cb7), ACE (.ace, .cba), ADF (.adf), ALZIP (.alz), APE (.ape), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), COMPRESS (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), FLAC (.flac), GZIP (.gz), ISO (.iso), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar, .cbr), RZIP (.rz), SHN (.shn), TAR (.tar, .cbt), XZ (.xz), ZIP (.zip, .jar, .cbz) and ZOO (.zoo) archive formats. It relies on helper applications to handle those archive formats (for example bzip2 for BZIP2 archives). The archive formats TAR, ZIP, BZIP2 and GZIP are supported natively and do not require helper applications to be installed.

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

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

sudo dnf -y install patool

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

sudo yum -y install patool

How To Uninstall patool on Fedora 36

To uninstall only the patool package we can use the following command:

sudo dnf remove patool

patool Package Contents on Fedora 36

/usr/bin/patool
/usr/share/bash-completion/completions/patool
/usr/share/doc/patool
/usr/share/doc/patool/README.md
/usr/share/licenses/patool
/usr/share/licenses/patool/COPYING
/usr/share/man/man1/patool.1.gz

References

Summary

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