How To Install bsdcpio on Fedora 36

In this tutorial we learn how to install bsdcpio in Fedora 36. bsdcpio is Copy files to and from archives

Introduction

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

What is bsdcpio

The bsdcpio package contains standalone bsdcpio utility split off regular libarchive packages.

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

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

sudo dnf -y install bsdcpio

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

sudo yum -y install bsdcpio

How To Uninstall bsdcpio on Fedora 36

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

sudo dnf remove bsdcpio

bsdcpio Package Contents on Fedora 36

/usr/bin/bsdcpio
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/d7ccad05d0299bcbc82bb9486deae56df1e84a
/usr/share/doc/bsdcpio
/usr/share/doc/bsdcpio/NEWS
/usr/share/doc/bsdcpio/README.md
/usr/share/licenses/bsdcpio
/usr/share/licenses/bsdcpio/COPYING
/usr/share/man/man1/bsdcpio.1.gz

References

Summary

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