Version 4 (modified by 13 years ago) (diff) | ,
---|
Introduction
Latest OpenVPN releases are also available in the project's apt repositories. This allow you to use more up-to-date version of OpenVPN than what's typically available in your distribution's repositories. You need to run these commands as root, e.g. using sudo or su.
Importing the GPG key
OpenVPN's .deb packages and repository files are signed with GPG. Therefore, you need to import proper public key or you get errors when updating software catalogs (e.g. with apt-get update):
$ wget -O - http://build.openvpn.net/repos/apt/conf/openvpn-apt.gpg.key|apt-key add -
This step is the same regardless of the OS or OS release.
Adding repository files
Debian Lenny (5.x)
The i386 and amd64 architectures are supported. These packages may work on later Debian versions, too.
$ cd /etc/apt/sources.list.d $ wget http://build.openvpn.net/repos/apt/conf/openvpn-lenny.list
Ubuntu Lucid Lynx (10.04)
The i386 and amd64 architectures are supported. These packages may work on later Ubuntu versions, too.
$ cd /etc/apt/sources.list.d $ wget http://build.openvpn.net/repos/apt/conf/openvpn-lucid.list
Installing OpenVPN
In most cases, you can just do
$ apt-get update && apt-get install openvpn