How To Install xfsprogs-devel on CentOS 8
Introduction
In this tutorial we learn how to install xfsprogs-devel
on CentOS 8.
What is xfsprogs-devel
xfsprogs-devel contains the header files needed to develop XFS filesystem-specific programs. You should install xfsprogs-devel if you want to develop XFS filesystem-specific programs, If you install xfsprogs-devel, you’ll also want to install xfsprogs. xfsprogs-devel 5.0.0 8.el8 x86_64 70 k xfsprogs-5.0.0-8.el8.src.rpm baseos XFS filesystem-specific headers https GPL+ and LGPLv2+ xfsprogs-devel contains the header files needed to develop XFS filesystem-specific programs. You should install xfsprogs-devel if you want to develop XFS filesystem-specific programs, If you install xfsprogs-devel, you’ll also want to install xfsprogs.
We can use yum
or dnf
to install xfsprogs-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xfsprogs-devel.
Install xfsprogs-devel on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install xfsprogs-devel
using dnf
by running the following command:
sudo dnf -y install xfsprogs-devel
Install xfsprogs-devel on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install xfsprogs-devel
using yum
by running the following command:
sudo yum -y install xfsprogs-devel
How To Uninstall xfsprogs-devel on CentOS 8
To uninstall only the xfsprogs-devel
package we can use the following command:
sudo dnf remove xfsprogs-devel
xfsprogs-devel Package Contents on CentOS 8
/usr/include/xfs
/usr/include/xfs/handle.h
/usr/include/xfs/jdm.h
/usr/include/xfs/linux.h
/usr/include/xfs/xfs.h
/usr/include/xfs/xfs_arch.h
/usr/include/xfs/xfs_da_format.h
/usr/include/xfs/xfs_format.h
/usr/include/xfs/xfs_fs.h
/usr/include/xfs/xfs_log_format.h
/usr/include/xfs/xfs_types.h
/usr/include/xfs/xqm.h
/usr/lib/libhandle.so
/usr/share/man/man2/ioctl_xfs_scrub_metadata.2.gz
/usr/share/man/man3/attr_list_by_handle.3.gz
/usr/share/man/man3/attr_multi_by_handle.3.gz
/usr/share/man/man3/fd_to_handle.3.gz
/usr/share/man/man3/free_handle.3.gz
/usr/share/man/man3/fssetdm_by_handle.3.gz
/usr/share/man/man3/getparentpaths_by_handle.3.gz
/usr/share/man/man3/getparents_by_handle.3.gz
/usr/share/man/man3/handle_to_fshandle.3.gz
/usr/share/man/man3/open_by_handle.3.gz
/usr/share/man/man3/path_to_fshandle.3.gz
/usr/share/man/man3/path_to_handle.3.gz
/usr/share/man/man3/readlink_by_handle.3.gz
/usr/share/man/man3/xfsctl.3.gz
/usr/include/xfs
/usr/include/xfs/handle.h
/usr/include/xfs/jdm.h
/usr/include/xfs/linux.h
/usr/include/xfs/xfs.h
/usr/include/xfs/xfs_arch.h
/usr/include/xfs/xfs_da_format.h
/usr/include/xfs/xfs_format.h
/usr/include/xfs/xfs_fs.h
/usr/include/xfs/xfs_log_format.h
/usr/include/xfs/xfs_types.h
/usr/include/xfs/xqm.h
/usr/lib64/libhandle.so
/usr/share/man/man2/ioctl_xfs_scrub_metadata.2.gz
/usr/share/man/man3/attr_list_by_handle.3.gz
/usr/share/man/man3/attr_multi_by_handle.3.gz
/usr/share/man/man3/fd_to_handle.3.gz
/usr/share/man/man3/free_handle.3.gz
/usr/share/man/man3/fssetdm_by_handle.3.gz
/usr/share/man/man3/getparentpaths_by_handle.3.gz
/usr/share/man/man3/getparents_by_handle.3.gz
/usr/share/man/man3/handle_to_fshandle.3.gz
/usr/share/man/man3/open_by_handle.3.gz
/usr/share/man/man3/path_to_fshandle.3.gz
/usr/share/man/man3/path_to_handle.3.gz
/usr/share/man/man3/readlink_by_handle.3.gz
/usr/share/man/man3/xfsctl.3.gz
References
- [xfsprogs-devel website](https://xfs.wiki.kernel.org https://xfs.wiki.kernel.org)
Summary
In this tutorial we learn how to install xfsprogs-devel
on CentOS 8 using yum and dnf.