How To Install xar on Fedora 34

xar is The eXtensible ARchiver The eXtensible ARchiver

Introduction

In this tutorial we learn how to install xar on Fedora 34.

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. xar 1.8.0.417.1 4.fc34 x86_64 70 k xar-1.8.0.417.1-4.fc34.src.rpm fedora The eXtensible ARchiver https BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xar.

Install xar on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xar using dnf by running the following command:

sudo dnf -y install xar

Install xar on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xar using yum by running the following command:

sudo yum -y install xar

How To Uninstall xar on Fedora 34

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

sudo dnf remove xar

xar Package Contents on Fedora 34

/usr/bin/xar
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/3bd7d80ad976e525edca72c1ff99dfcd000383
/usr/lib/.build-id/16
/usr/lib/.build-id/16/59984dd084cd237d6b967e11b322a8a02709a0
/usr/lib64/libxar.so.1
/usr/share/doc/xar
/usr/share/doc/xar/ChangeLog
/usr/share/doc/xar/README
/usr/share/doc/xar/TODO
/usr/share/licenses/xar
/usr/share/licenses/xar/LICENSE
/usr/share/man/man1/xar.1.gz
/usr/bin/xar
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/2e5ca8d06c49bcaa4ae4e365a85b919dd3e544
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/fe12a2531b1044fff8ba166fab4af1f22ec84c
/usr/lib/libxar.so.1
/usr/share/doc/xar
/usr/share/doc/xar/ChangeLog
/usr/share/doc/xar/README
/usr/share/doc/xar/TODO
/usr/share/licenses/xar
/usr/share/licenses/xar/LICENSE
/usr/share/man/man1/xar.1.gz

References

Summary

In this tutorial we learn how to install xar on Fedora 34 using yum and dnf.