How To Install wgctrl on Fedora 36

In this tutorial we learn how to install wgctrl in Fedora 36. wgctrl is Control of WireGuard interfaces on multiple platforms

Introduction

In this tutorial we learn how to install wgctrl on Fedora 36.

What is wgctrl

Package Wgctrl enables control of WireGuard interfaces on multiple platforms.

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

Install wgctrl on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install wgctrl using dnf by running the following command:

sudo dnf -y install wgctrl

Install wgctrl on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install wgctrl using yum by running the following command:

sudo yum -y install wgctrl

How To Uninstall wgctrl on Fedora 36

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

sudo dnf remove wgctrl

wgctrl Package Contents on Fedora 36

/usr/bin/wgctrl
/usr/lib/.build-id
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/d4918bbf0074c0ff4e9a7d70483ad1b2e942bf
/usr/share/doc/wgctrl
/usr/share/doc/wgctrl/CONTRIBUTING.md
/usr/share/doc/wgctrl/README.md
/usr/share/licenses/wgctrl
/usr/share/licenses/wgctrl/LICENSE.md

References

Summary

In this tutorial we learn how to install wgctrl on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).