It’s available, but you are missing one more repository:
[root@rocky ~]# dnf search openvpn
Last metadata expiration check: 0:00:09 ago on Sun 17 Jul 2022 18:50:30 CEST.
======================================== Name Exactly Matched: openvpn =========================================
openvpn.x86_64 : A full-featured SSL VPN solution
======================================= Name & Summary Matched: openvpn ========================================
NetworkManager-openvpn.x86_64 : NetworkManager VPN plugin for OpenVPN
NetworkManager-openvpn-gnome.x86_64 : NetworkManager VPN plugin for OpenVPN - GNOME files
openvpn-auth-ldap.x86_64 : OpenVPN plugin for LDAP authentication
openvpn-devel.x86_64 : Development headers and examples for OpenVPN plug-ins
plasma-nm-openvpn.x86_64 : OpenVPN support for plasma-nm
[root@rocky ~]# dnf info openvpn
Last metadata expiration check: 0:00:11 ago on Sun 17 Jul 2022 18:50:30 CEST.
Available Packages
Name : openvpn
Version : 2.4.12
Release : 1.el8
Architecture : x86_64
Size : 545 k
Source : openvpn-2.4.12-1.el8.src.rpm
Repository : epel
Summary : A full-featured SSL VPN solution
URL : https://community.openvpn.net/
License : GPLv2
Description : OpenVPN is a robust and highly flexible tunneling application that uses all
: of the encryption, authentication, and certification features of the
: OpenSSL library to securely tunnel IP networks over a single UDP or TCP
: port. It can use the Marcus Franz Xaver Johannes Oberhumers LZO library
: for compression.
Absolutely, was about to share the same information. Thanks iwalker.
And ,may I ask if it’s possible to update Rocky 8.6 directly to Rocky Linux 9 via package manager ( dnf or yum) . Currently running on Rocky Linux 8.6. on my desktop machine .
@Jil Upgrades not supported from 8 → 9 - recommended is clean install and restore. There is talk about something called elevate and maybe some sort of unofficial upgrade process will appear in the future. But officially, it’s clean install time.
dnf install epel-release
Last metadata expiration check: 0:23:43 ago on Sun 17 Jul 2022 11:33:12 AM CDT.
Package epel-release-8-13.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Then…
dnf install openvpn
Last metadata expiration check: 0:24:15 ago on Sun 17 Jul 2022 11:33:12 AM CDT.
No match for argument: openvpn
Error: Unable to find a match: openvpn