How To Install libblockdev-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libblockdev-devel
on Rocky Linux 8.
What is libblockdev-devel
This package contains header files and pkg-config files needed for development with the libblockdev library.
We can use yum
or dnf
to install libblockdev-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libblockdev-devel.
Install libblockdev-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libblockdev-devel
using dnf
by running the following command:
sudo dnf -y install libblockdev-devel
Install libblockdev-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libblockdev-devel
using yum
by running the following command:
sudo yum -y install libblockdev-devel
How To Uninstall libblockdev-devel on Rocky Linux 8
To uninstall only the libblockdev-devel
package we can use the following command:
sudo dnf remove libblockdev-devel
libblockdev-devel Package Contents on Rocky Linux 8
/usr/include/blockdev
/usr/include/blockdev/blockdev.h
/usr/include/blockdev/plugins.h
/usr/lib/libblockdev.so
/usr/lib/pkgconfig/blockdev.pc
/usr/share/doc/libblockdev-devel
/usr/share/doc/libblockdev-devel/features.rst
/usr/share/doc/libblockdev-devel/specs.rst
/usr/share/gir-1.0/BlockDev-2.0.gir
/usr/share/gtk-doc/html/libblockdev
/usr/share/gtk-doc/html/libblockdev/annotation-glossary.html
/usr/share/gtk-doc/html/libblockdev/api-index-full.html
/usr/share/gtk-doc/html/libblockdev/ch01.html
/usr/share/gtk-doc/html/libblockdev/ch02.html
/usr/share/gtk-doc/html/libblockdev/ch03.html
/usr/share/gtk-doc/html/libblockdev/home.png
/usr/share/gtk-doc/html/libblockdev/index.html
/usr/share/gtk-doc/html/libblockdev/left-insensitive.png
/usr/share/gtk-doc/html/libblockdev/left.png
/usr/share/gtk-doc/html/libblockdev/libblockdev-BTRFS.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Crypto.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-DeviceMapper.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-FS.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-KernelBlockDevices.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-LVM.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Loop.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-MD-RAID.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Mpath.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-NVDIMM.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Part.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Plugins.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Swap.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Utils.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-VDO.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-blockdev-library.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-s390.html
/usr/share/gtk-doc/html/libblockdev/libblockdev.devhelp2
/usr/share/gtk-doc/html/libblockdev/right-insensitive.png
/usr/share/gtk-doc/html/libblockdev/right.png
/usr/share/gtk-doc/html/libblockdev/style.css
/usr/share/gtk-doc/html/libblockdev/up-insensitive.png
/usr/share/gtk-doc/html/libblockdev/up.png
/usr/include/blockdev
/usr/include/blockdev/blockdev.h
/usr/include/blockdev/plugins.h
/usr/lib64/libblockdev.so
/usr/lib64/pkgconfig/blockdev.pc
/usr/share/doc/libblockdev-devel
/usr/share/doc/libblockdev-devel/features.rst
/usr/share/doc/libblockdev-devel/specs.rst
/usr/share/gir-1.0/BlockDev-2.0.gir
/usr/share/gtk-doc/html/libblockdev
/usr/share/gtk-doc/html/libblockdev/annotation-glossary.html
/usr/share/gtk-doc/html/libblockdev/api-index-full.html
/usr/share/gtk-doc/html/libblockdev/ch01.html
/usr/share/gtk-doc/html/libblockdev/ch02.html
/usr/share/gtk-doc/html/libblockdev/ch03.html
/usr/share/gtk-doc/html/libblockdev/home.png
/usr/share/gtk-doc/html/libblockdev/index.html
/usr/share/gtk-doc/html/libblockdev/left-insensitive.png
/usr/share/gtk-doc/html/libblockdev/left.png
/usr/share/gtk-doc/html/libblockdev/libblockdev-BTRFS.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Crypto.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-DeviceMapper.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-FS.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-KernelBlockDevices.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-LVM.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Loop.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-MD-RAID.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Mpath.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-NVDIMM.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Part.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Plugins.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Swap.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-Utils.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-VDO.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-blockdev-library.html
/usr/share/gtk-doc/html/libblockdev/libblockdev-s390.html
/usr/share/gtk-doc/html/libblockdev/libblockdev.devhelp2
/usr/share/gtk-doc/html/libblockdev/right-insensitive.png
/usr/share/gtk-doc/html/libblockdev/right.png
/usr/share/gtk-doc/html/libblockdev/style.css
/usr/share/gtk-doc/html/libblockdev/up-insensitive.png
/usr/share/gtk-doc/html/libblockdev/up.png
References
Summary
In this tutorial we learn how to install libblockdev-devel
on Rocky Linux 8 using yum and dnf.