amazon-web-servicesopenvpnamazon-linuxamazon-linux-2

Amazon Linux 2 OpenVPN client package unavailable?


When I try to run sudo yum install openvpn on an Amazon Linux 2 instance that I just created, I receive the message

No package openvpn available

Do I need to add a package repository? I don't find mention of needing to do so anywhere.


Solution

  • Its in epel. To install it on AL2:

    # setup epel
    sudo amazon-linux-extras install epel
    
    # and
    
    sudo yum install openvpn