How To Install bolt on Fedora 34

bolt is Thunderbolt device manager

Introduction

In this tutorial we learn how to install bolt on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install bolt.

Install bolt on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

To uninstall only the bolt package we can use the following command:

sudo dnf remove bolt

bolt Package Contents on Fedora 34

/usr/bin/boltctl
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/58d7f7740fe6d580a8485c83a545026b969f99
/usr/lib/.build-id/51
/usr/lib/.build-id/51/7a21b95aafcb34b913d0b5461b26e560d15eac
/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 Fedora 34 using yum and dnf.