How To Install openconnect on Rocky Linux 8

In this tutorial we learn how to install openconnect on Rocky Linux 8. openconnect is Open client for Cisco AnyConnect VPN, Juniper Network Connect/Pulse, PAN GlobalProtect

Introduction

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

What is openconnect

This package provides a multiprotocol VPN client for Cisco AnyConnect, Juniper SSL VPN / Pulse Connect Secure, and Palo Alto Networks GlobalProtect SSL VPN.

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

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

sudo dnf -y install openconnect

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

sudo yum -y install openconnect

How To Uninstall openconnect on Rocky Linux 8

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

sudo dnf remove openconnect

openconnect Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/80b444477ca293f44148e082a86ca1ee901930
/usr/lib/.build-id/79
/usr/lib/.build-id/79/a236c04830fb310f1e80e252816347c6ee5243
/usr/lib64/libopenconnect.so.5
/usr/lib64/libopenconnect.so.5.6.0
/usr/libexec/openconnect
/usr/libexec/openconnect/csd-post.sh
/usr/libexec/openconnect/csd-wrapper.sh
/usr/libexec/openconnect/hipreport.sh
/usr/libexec/openconnect/tncc-emulate.py
/usr/sbin/openconnect
/usr/share/bash-completion/completions/openconnect
/usr/share/doc/openconnect
/usr/share/doc/openconnect/COPYING.LGPL
/usr/share/doc/openconnect/TODO
/usr/share/locale/ar/LC_MESSAGES/openconnect.mo
/usr/share/locale/bs/LC_MESSAGES/openconnect.mo
/usr/share/locale/ca/LC_MESSAGES/openconnect.mo
/usr/share/locale/cs/LC_MESSAGES/openconnect.mo
/usr/share/locale/da/LC_MESSAGES/openconnect.mo
/usr/share/locale/de/LC_MESSAGES/openconnect.mo
/usr/share/locale/el/LC_MESSAGES/openconnect.mo
/usr/share/locale/en_GB/LC_MESSAGES/openconnect.mo
/usr/share/locale/en_US/LC_MESSAGES/openconnect.mo
/usr/share/locale/es/LC_MESSAGES/openconnect.mo
/usr/share/locale/eu/LC_MESSAGES/openconnect.mo
/usr/share/locale/fi/LC_MESSAGES/openconnect.mo
/usr/share/locale/fr/LC_MESSAGES/openconnect.mo
/usr/share/locale/gl/LC_MESSAGES/openconnect.mo
/usr/share/locale/hu/LC_MESSAGES/openconnect.mo
/usr/share/locale/id/LC_MESSAGES/openconnect.mo
/usr/share/locale/it/LC_MESSAGES/openconnect.mo
/usr/share/locale/lt/LC_MESSAGES/openconnect.mo
/usr/share/locale/nl/LC_MESSAGES/openconnect.mo
/usr/share/locale/pa/LC_MESSAGES/openconnect.mo
/usr/share/locale/pl/LC_MESSAGES/openconnect.mo
/usr/share/locale/pt/LC_MESSAGES/openconnect.mo
/usr/share/locale/pt_BR/LC_MESSAGES/openconnect.mo
/usr/share/locale/sk/LC_MESSAGES/openconnect.mo
/usr/share/locale/sl/LC_MESSAGES/openconnect.mo
/usr/share/locale/sr/LC_MESSAGES/openconnect.mo
/usr/share/locale/sr@latin/LC_MESSAGES/openconnect.mo
/usr/share/locale/sv/LC_MESSAGES/openconnect.mo
/usr/share/locale/tg/LC_MESSAGES/openconnect.mo
/usr/share/locale/tr/LC_MESSAGES/openconnect.mo
/usr/share/locale/ug/LC_MESSAGES/openconnect.mo
/usr/share/locale/uk/LC_MESSAGES/openconnect.mo
/usr/share/locale/zh_CN/LC_MESSAGES/openconnect.mo
/usr/share/locale/zh_TW/LC_MESSAGES/openconnect.mo
/usr/share/man/man8/openconnect.8.gz

References

Summary

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