How To Install barrier on Fedora 34

barrier is Use a single keyboard and mouse to control multiple computers

Introduction

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

What is barrier

Barrier is software that mimics the functionality of a KVM switch, which historically would allow you to use a single keyboard and mouse to control multiple computers. Barrier does this in software, allowing you to tell it which machine to control by moving your mouse to the edge of the screen, or by using a key press to switch focus to a different system.

We can use yum or dnf to install barrier on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install barrier.

Install barrier 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 barrier using dnf by running the following command:

sudo dnf -y install barrier

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

sudo yum -y install barrier

How To Uninstall barrier on Fedora 34

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

sudo dnf remove barrier

barrier Package Contents on Fedora 34

/usr/bin/barrier
/usr/bin/barrierc
/usr/bin/barriers
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/f60d8730d0589b5b90ae2c9eaab455fc7b88be
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/a1bcdc85cc365a9f3ab190e159c5a5dcf2d7b4
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/d33e28e03252930ef9df2838b7a3a19cd7c4c8
/usr/share/applications/barrier.desktop
/usr/share/doc/barrier
/usr/share/doc/barrier/ChangeLog
/usr/share/doc/barrier/Readme.txt
/usr/share/doc/barrier/barrier.conf.example
/usr/share/doc/barrier/barrier.conf.example-advanced
/usr/share/doc/barrier/barrier.conf.example-basic
/usr/share/icons/hicolor/scalable/apps/barrier.svg
/usr/share/licenses/barrier
/usr/share/licenses/barrier/LICENSE
/usr/share/man/man1/barrierc.1.gz
/usr/share/man/man1/barriers.1.gz
/usr/share/metainfo/barrier.appdata.xml
/usr/share/pixmaps/barrier.ico

References

Summary

In this tutorial we learn how to install barrier on Fedora 34 using yum and dnf.