How To Install bolt on CentOS 8
Introduction
In this tutorial we learn how to install bolt
on CentOS 8.
What is bolt
bolt is a system daemon to manage Thunderbolt devices via a D-BUS API. Thunderbolt 3 introduced different security modes that require devices to be authorized before they can be used. The D-Bus API can be used to list devices, enroll them (authorize and store them in the local database) and forget them again (remove previously enrolled devices). It also emits signals if new devices are connected (or removed). During enrollment devices can be set to be automatically authorized as soon as they are connected. A command line tool, called boltctl, can be used to control the daemon and perform all the above mentioned tasks.
We can use yum
or dnf
to install bolt
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install bolt.
Install bolt on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install bolt
using dnf
by running the following command:
sudo dnf -y install bolt
Install bolt on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install bolt
using yum
by running the following command:
sudo yum -y install bolt
How To Uninstall bolt on CentOS 8
To uninstall only the bolt
package we can use the following command:
sudo dnf remove bolt
bolt Package Contents on CentOS 8
/usr/bin/boltctl
/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/58895ab99690c8b7770414e1656ebfa560e770
/usr/lib/.build-id/db
/usr/lib/.build-id/db/2d27a3d0eaf63c7f2898ca55fdfc7a83202f6b
/usr/lib/systemd/system/bolt.service
/usr/lib/udev/rules.d/90-bolt.rules
/usr/libexec/boltd
/usr/share/dbus-1/interfaces/org.freedesktop.bolt.xml
/usr/share/dbus-1/system-services/org.freedesktop.bolt.service
/usr/share/dbus-1/system.d/org.freedesktop.bolt.conf
/usr/share/doc/bolt
/usr/share/doc/bolt/CHANGELOG.md
/usr/share/doc/bolt/README.md
/usr/share/licenses/bolt
/usr/share/licenses/bolt/COPYING
/usr/share/man/man1/boltctl.1.gz
/usr/share/man/man8/boltd.8.gz
/usr/share/polkit-1/actions/org.freedesktop.bolt.policy
/usr/share/polkit-1/rules.d/org.freedesktop.bolt.rules
/var/lib/boltd
References
Summary
In this tutorial we learn how to install bolt
on CentOS 8 using yum and dnf.