How To Install xar on CentOS 8
Introduction
In this tutorial we learn how to install xar on CentOS 8.
What is xar
The XAR project aims to provide an easily extensible archive format. Important design decisions include an easily extensible XML table of contents for random access to archived files, storing the toc at the beginning of the archive to allow for efficient handling of streamed archives, the ability to handle files of arbitrarily large sizes, the ability to choose independent encodings for individual files in the archive, the ability to store checksums for individual files in both compressed and uncompressed form, and the ability to query the table of content’s rich meta-data.
We can use yum or dnf to install xar on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xar.
Install xar on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install xar using yum by running the following command:
sudo yum -y install xar
Install xar on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install xar using dnf by running the following command:
sudo dnf -y install xar
How To Uninstall xar on CentOS 8
To uninstall only the xar package we can use the following command:
sudo dnf remove xar
References
Summary
In this tutorial we learn how to install xar on CentOS 8 using yum and dnf.