How To Install libtar on Fedora 36

In this tutorial we learn how to install libtar in Fedora 36. libtar is Tar file manipulation API

Introduction

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

What is libtar

libtar is a C library for manipulating tar archives. It supports both the strict POSIX tar format and many of the commonly-used GNU extensions.

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

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

sudo dnf -y install libtar

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

sudo yum -y install libtar

How To Uninstall libtar on Fedora 36

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

sudo dnf remove libtar

libtar Package Contents on Fedora 36

/usr/bin/libtar
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/b0f997e3246d0c6b14d626e97e44f279929fc3
/usr/lib/.build-id/48
/usr/lib/.build-id/48/f104e5ce576d49cda42c26fada9a42672b5f8d
/usr/lib/libtar.so.1
/usr/lib/libtar.so.1.2.20
/usr/share/doc/libtar
/usr/share/doc/libtar/COPYRIGHT
/usr/share/doc/libtar/ChangeLog
/usr/share/doc/libtar/ChangeLog-1.0.x
/usr/share/doc/libtar/README
/usr/share/doc/libtar/TODO

References

Summary

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


title: “How To Install libtar on Fedora 36” linkTitle: “libtar” type: “docs” description: “In this tutorial we learn how to install libtar in Fedora 36. libtar is Tar file manipulation API” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libtar-featured.png

Introduction

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

What is libtar

libtar is a C library for manipulating tar archives. It supports both the strict POSIX tar format and many of the commonly-used GNU extensions.

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

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

sudo dnf -y install libtar

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

sudo yum -y install libtar

How To Uninstall libtar on Fedora 36

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

sudo dnf remove libtar

libtar Package Contents on Fedora 36

/usr/bin/libtar
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/b0ec426a63806978135c4fe9c00259ae3bc691
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/c9e23c678bbc2c8cc4f521740b0f391d156a14
/usr/lib64/libtar.so.1
/usr/lib64/libtar.so.1.2.20
/usr/share/doc/libtar
/usr/share/doc/libtar/COPYRIGHT
/usr/share/doc/libtar/ChangeLog
/usr/share/doc/libtar/ChangeLog-1.0.x
/usr/share/doc/libtar/README
/usr/share/doc/libtar/TODO

References

Summary

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