How To Install libarchive-devel on Fedora 36

In this tutorial we learn how to install libarchive-devel in Fedora 36. libarchive-devel is Development files for libarchive

Introduction

In this tutorial we learn how to install libarchive-devel on Fedora 36.

What is libarchive-devel

The libarchive-devel package contains libraries and header files for developing applications that use libarchive.

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

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

sudo dnf -y install libarchive-devel

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

sudo yum -y install libarchive-devel

How To Uninstall libarchive-devel on Fedora 36

To uninstall only the libarchive-devel package we can use the following command:

sudo dnf remove libarchive-devel

libarchive-devel Package Contents on Fedora 36

/usr/include/archive.h
/usr/include/archive_entry.h
/usr/lib/libarchive.so
/usr/lib/pkgconfig/libarchive.pc
/usr/share/man/man3/archive_entry.3.gz
/usr/share/man/man3/archive_entry_acl.3.gz
/usr/share/man/man3/archive_entry_linkify.3.gz
/usr/share/man/man3/archive_entry_misc.3.gz
/usr/share/man/man3/archive_entry_paths.3.gz
/usr/share/man/man3/archive_entry_perms.3.gz
/usr/share/man/man3/archive_entry_stat.3.gz
/usr/share/man/man3/archive_entry_time.3.gz
/usr/share/man/man3/archive_read.3.gz
/usr/share/man/man3/archive_read_add_passphrase.3.gz
/usr/share/man/man3/archive_read_data.3.gz
/usr/share/man/man3/archive_read_disk.3.gz
/usr/share/man/man3/archive_read_extract.3.gz
/usr/share/man/man3/archive_read_filter.3.gz
/usr/share/man/man3/archive_read_format.3.gz
/usr/share/man/man3/archive_read_free.3.gz
/usr/share/man/man3/archive_read_header.3.gz
/usr/share/man/man3/archive_read_new.3.gz
/usr/share/man/man3/archive_read_open.3.gz
/usr/share/man/man3/archive_read_set_options.3.gz
/usr/share/man/man3/archive_util.3.gz
/usr/share/man/man3/archive_write.3.gz
/usr/share/man/man3/archive_write_blocksize.3.gz
/usr/share/man/man3/archive_write_data.3.gz
/usr/share/man/man3/archive_write_disk.3.gz
/usr/share/man/man3/archive_write_filter.3.gz
/usr/share/man/man3/archive_write_finish_entry.3.gz
/usr/share/man/man3/archive_write_format.3.gz
/usr/share/man/man3/archive_write_free.3.gz
/usr/share/man/man3/archive_write_header.3.gz
/usr/share/man/man3/archive_write_new.3.gz
/usr/share/man/man3/archive_write_open.3.gz
/usr/share/man/man3/archive_write_set_options.3.gz
/usr/share/man/man3/archive_write_set_passphrase.3.gz
/usr/share/man/man3/libarchive.3.gz
/usr/share/man/man3/libarchive_changes.3.gz
/usr/share/man/man3/libarchive_internals.3.gz
/usr/share/man/man5/libarchive-formats.5.gz
---
title: "How To Install libarchive-devel on Fedora 36"
linkTitle: "libarchive-devel"
type: "docs"
description: "In this tutorial we learn how to install libarchive-devel in Fedora 36. libarchive-devel is Development files for libarchive"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libarchive-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `libarchive-devel` on Fedora 36.

### What is `libarchive-devel`

> The libarchive-devel package contains libraries and header files for developing applications that use libarchive.  

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

## Install libarchive-devel on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install libarchive-devel

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

sudo yum -y install libarchive-devel

How To Uninstall libarchive-devel on Fedora 36

To uninstall only the libarchive-devel package we can use the following command:

sudo dnf remove libarchive-devel

libarchive-devel Package Contents on Fedora 36

References

Summary

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

/usr/include/archive.h /usr/include/archive_entry.h /usr/lib64/libarchive.so /usr/lib64/pkgconfig/libarchive.pc /usr/share/man/man3/archive_entry.3.gz /usr/share/man/man3/archive_entry_acl.3.gz /usr/share/man/man3/archive_entry_linkify.3.gz /usr/share/man/man3/archive_entry_misc.3.gz /usr/share/man/man3/archive_entry_paths.3.gz /usr/share/man/man3/archive_entry_perms.3.gz /usr/share/man/man3/archive_entry_stat.3.gz /usr/share/man/man3/archive_entry_time.3.gz /usr/share/man/man3/archive_read.3.gz /usr/share/man/man3/archive_read_add_passphrase.3.gz /usr/share/man/man3/archive_read_data.3.gz /usr/share/man/man3/archive_read_disk.3.gz /usr/share/man/man3/archive_read_extract.3.gz /usr/share/man/man3/archive_read_filter.3.gz /usr/share/man/man3/archive_read_format.3.gz /usr/share/man/man3/archive_read_free.3.gz /usr/share/man/man3/archive_read_header.3.gz /usr/share/man/man3/archive_read_new.3.gz /usr/share/man/man3/archive_read_open.3.gz /usr/share/man/man3/archive_read_set_options.3.gz /usr/share/man/man3/archive_util.3.gz /usr/share/man/man3/archive_write.3.gz /usr/share/man/man3/archive_write_blocksize.3.gz /usr/share/man/man3/archive_write_data.3.gz /usr/share/man/man3/archive_write_disk.3.gz /usr/share/man/man3/archive_write_filter.3.gz /usr/share/man/man3/archive_write_finish_entry.3.gz /usr/share/man/man3/archive_write_format.3.gz /usr/share/man/man3/archive_write_free.3.gz /usr/share/man/man3/archive_write_header.3.gz /usr/share/man/man3/archive_write_new.3.gz /usr/share/man/man3/archive_write_open.3.gz /usr/share/man/man3/archive_write_set_options.3.gz /usr/share/man/man3/archive_write_set_passphrase.3.gz /usr/share/man/man3/libarchive.3.gz /usr/share/man/man3/libarchive_changes.3.gz /usr/share/man/man3/libarchive_internals.3.gz /usr/share/man/man5/libarchive-formats.5.gz


## References

* [libarchive-devel website](https://www.libarchive.org/)

## Summary

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