[[TOC(inline, depth=1)]] = 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''. = Compatibility = Even if a package is built on a particular OS, it does not mean it won't work on older and/or newer versions of the same distro, or even on a different operating system: ||'''Package'''||'''Works on'''|| ||||Debian 5.x||Debian 6.x||Debian 7.x||Ubuntu 10.04||Ubuntu 10.10||Ubuntu 11.04||Ubuntu 11.10|| ||Debian 5.x (Lenny)||Yes||Untested||Untested||Untested||Untested||Untested||Untested|| ||Ubuntu 10.04 (Lucid)||Untested||Untested||Untested||Yes||Untested||Yes||Untested|| If you've tested the packages yourself on an OS marked as ''"Untested"'', please change the appropriate cell to say ''"Yes"'' or ''"No"'', depending on whether the package worked or not. If there were any issues with the package, please file a new [wiki:TesterDocumentation#Reportingbugs bug report]. = 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.org/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.org/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.org/repos/apt/conf/openvpn-lucid.list }}} = Installing OpenVPN = In most cases, you can just do {{{ $ apt-get update && apt-get install openvpn }}}