As you may know, there are literally multitude of archiving tools to manage dozens of archiving file formats. Each tool has its own commands and parameters. If your system has GUI installed, there won’t be a problem to manage archive files. Just right click the zip files and click extract or extract files. Likewise, right click on any folder or file and choose Compress to compress them. On the contrary, if you have a system with only CLI, you will have to memorize all commands and parameters for managing different archive format files. This can be little difficult and unnecessary too. Meet Patool , a portable command line archive file manager that supports almost all archive formats.
Download Free Guide: “How to Set Up Your Wireless and USB Printer in linux”
The list of supported archive file formats are given below.
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) ZOO (.zoo) and many.In a nutshell, we don’t need to install numerous archive managers. Patool is simply enough to do all sort of archiving stuffs.
Install Patool Command line Archive file managerPatool can be installed easily using python-pip , a package manager for installing softwares written using Python.
Let us install python-pip first.
On Arch Linux and derivatives:
sudo pacman -S python-pipOn Debian, Ubuntu, Linux Mint:
sudo apt-get install python-pipOn RHEL, CentOS, Fedora:
sudo yum install python-pipOr,
sudo dnf install python-pipOn SUSE/openSUSE:
sudo zypper in python-pipOnce pip installed, run the following command to install Patool archive manager.
sudo pip install patool Sample output: Collecting patoolDownloading patool-1.12-py2.py3-none-any.whl (77kB)
100% |%