How To Install usbguard.i686 on Amazon Linux 2

In this tutorial we learn how to install usbguard.i686 in Amazon Linux 2. usbguard.i686 is A tool for implementing USB device usage policy

Introduction

In this tutorial we learn how to install usbguard.i686 on Amazon Linux 2.

What is usbguard.i686

The USBGuard software framework helps to protect your computer against rogue USB devices by implementing basic whitelisting/blacklisting capabilities based on USB device attributes.

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

Install usbguard.i686 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.i686 using yum by running the following command:

sudo yum -y install usbguard.i686

How To Uninstall usbguard.i686 on Amazon Linux 2

To uninstall only the usbguard.i686 package we can use the following command:

sudo yum remove usbguard.i686

usbguard.i686 Package Contents on Amazon Linux 2

/etc/usbguard
/etc/usbguard/IPCAccessControl.d
/etc/usbguard/rules.conf
/etc/usbguard/usbguard-daemon.conf
/usr/bin/usbguard
/usr/lib/libusbguard.so.0
/usr/lib/libusbguard.so.0.0.0
/usr/lib/systemd/system/usbguard.service
/usr/sbin/usbguard-daemon
/usr/share/bash-completion/completions/usbguard
/usr/share/doc/usbguard-0.7.0
/usr/share/doc/usbguard-0.7.0/CHANGELOG.md
/usr/share/doc/usbguard-0.7.0/README.md
/usr/share/licenses/usbguard-0.7.0
/usr/share/licenses/usbguard-0.7.0/LICENSE
/usr/share/man/man1/usbguard.1.gz
/usr/share/man/man5/usbguard-daemon.conf.5.gz
/usr/share/man/man5/usbguard-rules.conf.5.gz
/usr/share/man/man8/usbguard-daemon.8.gz
/var/log/usbguard

References

Summary

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