How To Install usbguard-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install usbguard-devel.x86_64 in Amazon Linux 2. usbguard-devel.x86_64 is Development files for usbguard

Introduction

In this tutorial we learn how to install usbguard-devel.x86_64 on Amazon Linux 2.

What is usbguard-devel.x86_64

The usbguard-devel package contains libraries and header files for developing applications that use usbguard.

We can use yum to install usbguard-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install usbguard-devel.x86_64.

Install usbguard-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install usbguard-devel.x86_64 using yum by running the following command:

sudo yum -y install usbguard-devel.x86_64

How To Uninstall usbguard-devel.x86_64 on Amazon Linux 2

To uninstall only the usbguard-devel.x86_64 package we can use the following command:

sudo yum remove usbguard-devel.x86_64

usbguard-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/usbguard
/usr/include/usbguard/Audit.hpp
/usr/include/usbguard/ConfigFile.hpp
/usr/include/usbguard/Device.hpp
/usr/include/usbguard/DeviceManager.hpp
/usr/include/usbguard/DeviceManagerHooks.hpp
/usr/include/usbguard/Exception.hpp
/usr/include/usbguard/IPCClient.hpp
/usr/include/usbguard/IPCServer.hpp
/usr/include/usbguard/Interface.hpp
/usr/include/usbguard/Logger.hpp
/usr/include/usbguard/Policy.hpp
/usr/include/usbguard/Predicates.hpp
/usr/include/usbguard/Rule.hpp
/usr/include/usbguard/RuleCondition.hpp
/usr/include/usbguard/RuleSet.hpp
/usr/include/usbguard/Typedefs.hpp
/usr/include/usbguard/USB.hpp
/usr/include/usbguard/USBGuard.hpp
/usr/lib64/libusbguard.so
/usr/lib64/pkgconfig/libusbguard.pc

References

Summary

In this tutorial we learn how to install usbguard-devel.x86_64 on Amazon Linux 2 using yum.