How To Install openconnect-devel on Rocky Linux 8

In this tutorial we learn how to install openconnect-devel on Rocky Linux 8. openconnect-devel is Development package for OpenConnect VPN authentication tools

Introduction

In this tutorial we learn how to install openconnect-devel on Rocky Linux 8.

What is openconnect-devel

This package provides the core HTTP and authentication support from the OpenConnect VPN client, to be used by GUI authentication dialogs for NetworkManager etc.

We can use yum or dnf to install openconnect-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install openconnect-devel.

Install openconnect-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install openconnect-devel

Install openconnect-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install openconnect-devel using yum by running the following command:

sudo yum -y install openconnect-devel

How To Uninstall openconnect-devel on Rocky Linux 8

To uninstall only the openconnect-devel package we can use the following command:

sudo dnf remove openconnect-devel

openconnect-devel Package Contents on Rocky Linux 8

/usr/include/openconnect.h
/usr/lib64/libopenconnect.so
/usr/lib64/pkgconfig/openconnect.pc

References

Summary

In this tutorial we learn how to install openconnect-devel on Rocky Linux 8 using yum and dnf.