How To Install libattr-devel on Fedora 36

In this tutorial we learn how to install libattr-devel in Fedora 36. libattr-devel is Files needed for building programs with libattr

Introduction

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

What is libattr-devel

This package contains header files and documentation needed to develop programs which make use of extended attributes. For Linux programs, the documented system call API is the recommended interface, but an SGI IRIX compatibility interface is also provided. Currently only ext2, ext3, ext4 and XFS support extended attributes. The SGI IRIX compatibility API built above the Linux system calls is used by programs such as xfsdump(8), xfsrestore(8) and xfs_fsr(8). You should install libattr-devel if you want to develop programs which make use of extended attributes. If you install libattr-devel, you’ll also want to install attr.

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

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

sudo dnf -y install libattr-devel

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

sudo yum -y install libattr-devel

How To Uninstall libattr-devel on Fedora 36

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

sudo dnf remove libattr-devel

libattr-devel Package Contents on Fedora 36

/usr/include/attr
/usr/include/attr/attributes.h
/usr/include/attr/error_context.h
/usr/include/attr/libattr.h
/usr/include/attr/xattr.h
/usr/lib/libattr.so
/usr/lib/pkgconfig/libattr.pc
/usr/share/man/man3/attr_get.3.gz
/usr/share/man/man3/attr_getf.3.gz
/usr/share/man/man3/attr_list.3.gz
/usr/share/man/man3/attr_listf.3.gz
/usr/share/man/man3/attr_multi.3.gz
/usr/share/man/man3/attr_multif.3.gz
/usr/share/man/man3/attr_remove.3.gz
/usr/share/man/man3/attr_removef.3.gz
/usr/share/man/man3/attr_set.3.gz
/usr/share/man/man3/attr_setf.3.gz

References

Summary

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


title: “How To Install libattr-devel on Fedora 36” linkTitle: “libattr-devel” type: “docs” description: “In this tutorial we learn how to install libattr-devel in Fedora 36. libattr-devel is Files needed for building programs with libattr” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libattr-devel-featured.png

Introduction

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

What is libattr-devel

This package contains header files and documentation needed to develop programs which make use of extended attributes. For Linux programs, the documented system call API is the recommended interface, but an SGI IRIX compatibility interface is also provided. Currently only ext2, ext3, ext4 and XFS support extended attributes. The SGI IRIX compatibility API built above the Linux system calls is used by programs such as xfsdump(8), xfsrestore(8) and xfs_fsr(8). You should install libattr-devel if you want to develop programs which make use of extended attributes. If you install libattr-devel, you’ll also want to install attr.

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

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

sudo dnf -y install libattr-devel

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

sudo yum -y install libattr-devel

How To Uninstall libattr-devel on Fedora 36

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

sudo dnf remove libattr-devel

libattr-devel Package Contents on Fedora 36

/usr/include/attr
/usr/include/attr/attributes.h
/usr/include/attr/error_context.h
/usr/include/attr/libattr.h
/usr/include/attr/xattr.h
/usr/lib64/libattr.so
/usr/lib64/pkgconfig/libattr.pc
/usr/share/man/man3/attr_get.3.gz
/usr/share/man/man3/attr_getf.3.gz
/usr/share/man/man3/attr_list.3.gz
/usr/share/man/man3/attr_listf.3.gz
/usr/share/man/man3/attr_multi.3.gz
/usr/share/man/man3/attr_multif.3.gz
/usr/share/man/man3/attr_remove.3.gz
/usr/share/man/man3/attr_removef.3.gz
/usr/share/man/man3/attr_set.3.gz
/usr/share/man/man3/attr_setf.3.gz

References

Summary

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