8

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.

Josh Russo
  • 3,080
  • 2
  • 41
  • 62

1 Answers1

23

Its in epel. To install it on AL2:

# setup epel
sudo amazon-linux-extras install epel

# and

sudo yum install openvpn
Marcin
  • 215,873
  • 14
  • 235
  • 294