How To Install device-mapper-devel on Fedora 36
Introduction
In this tutorial we learn how to install device-mapper-devel
on Fedora 36.
What is device-mapper-devel
This package contains files needed to develop applications that use the device-mapper libraries.
We can use yum
or dnf
to install device-mapper-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install device-mapper-devel.
Install device-mapper-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 device-mapper-devel
using dnf
by running the following command:
sudo dnf -y install device-mapper-devel
Install device-mapper-devel on Fedora 36 Using yum
title: “How To Install device-mapper-devel on Fedora 36”
Update yum database with yum
using the following command.
linkTitle: “device-mapper-devel”
type: "docs"
sudo yum makecache --refresh
description: “In this tutorial we learn how to install device-mapper-devel in Fedora 36. device-mapper-devel is Development libraries and headers for device-mapper”
date: “2022-08-17”
lastmod: “2022-08-17”
After updating yum database, We can install device-mapper-devel
using yum
by running the following command:
#image: /images/fedora/36/device-mapper-devel-featured.png
---
sudo yum -y install device-mapper-devel
Introduction
How To Uninstall device-mapper-devel on Fedora 36
In this tutorial we learn how to install device-mapper-devel
on Fedora 36.
To uninstall only the device-mapper-devel
package we can use the following command:
### What is `device-mapper-devel`
sudo dnf remove device-mapper-devel
This package contains files needed to develop applications that use the device-mapper libraries.
device-mapper-devel Package Contents on Fedora 36
We can use yum
or dnf
to install device-mapper-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install device-mapper-devel.
## Install device-mapper-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 device-mapper-devel
using dnf
by running the following command:
sudo dnf -y install device-mapper-devel
Install device-mapper-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 device-mapper-devel
using yum
by running the following command:
sudo yum -y install device-mapper-devel
How To Uninstall device-mapper-devel on Fedora 36
To uninstall only the device-mapper-devel
package we can use the following command:
sudo dnf remove device-mapper-devel
device-mapper-devel Package Contents on Fedora 36
/usr/include/libdevmapper.h
/usr/lib/libdevmapper.so
/usr/lib/pkgconfig/devmapper.pc
References
Summary
In this tutorial we learn how to install device-mapper-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/include/libdevmapper.h /usr/lib64/libdevmapper.so /usr/lib64/pkgconfig/devmapper.pc
## References
* [device-mapper-devel website](https://sourceware.org/lvm2/)
## Summary
In this tutorial we learn how to install `device-mapper-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).