How To Install mtdev on Rocky Linux 8
Introduction
In this tutorial we learn how to install mtdev on Rocky Linux 8.
What is mtdev
mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking.
We can use yum or dnf to install mtdev on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mtdev.
Install mtdev 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 mtdev using dnf by running the following command:
sudo dnf -y install mtdev
Install mtdev 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 mtdev using yum by running the following command:
sudo yum -y install mtdev
How To Uninstall mtdev on Rocky Linux 8
To uninstall only the mtdev package we can use the following command:
sudo dnf remove mtdev
mtdev Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/8088b75952e8aac79a759e521b9890e343b960
/usr/lib/libmtdev.so.1
/usr/lib/libmtdev.so.1.0.0
/usr/share/doc/mtdev
/usr/share/doc/mtdev/COPYING
/usr/share/doc/mtdev/README
/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/cf145d13b8ada26e7a4d315144ee275108ee30
/usr/lib64/libmtdev.so.1
/usr/lib64/libmtdev.so.1.0.0
/usr/share/doc/mtdev
/usr/share/doc/mtdev/COPYING
/usr/share/doc/mtdev/README
References
Summary
In this tutorial we learn how to install mtdev on Rocky Linux 8 using yum and dnf.