How To Install usbguard.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install usbguard.x86_64 on Amazon Linux 2.
What is usbguard.x86_64
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.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.x86_64.
Install usbguard.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.x86_64 using yum by running the following command:
sudo yum -y install usbguard.x86_64
How To Uninstall usbguard.x86_64 on Amazon Linux 2
To uninstall only the usbguard.x86_64 package we can use the following command:
sudo yum remove usbguard.x86_64
usbguard.x86_64 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/systemd/system/usbguard.service
/usr/lib64/libusbguard.so.0
/usr/lib64/libusbguard.so.0.0.0
/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.x86_64 on Amazon Linux 2 using yum.