| 1 | = Introduction = |
| 2 | |
| 3 | 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''. |
| 4 | |
| 5 | = Importing the GPG key = |
| 6 | |
| 7 | 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''): |
| 8 | |
| 9 | {{{ |
| 10 | $ wget -O - http://build.openvpn.net/packages/apt/conf/openvpn-apt.gpg.key|apt-key add - |
| 11 | }}} |
| 12 | |
| 13 | This step is the same regardless of the OS or OS release. |
| 14 | |
| 15 | = Adding repository files = |
| 16 | |
| 17 | == Debian Lenny (5.x) == |
| 18 | |
| 19 | {{{ |
| 20 | $ cd /etc/apt/sources.list.d |
| 21 | $ wget http://build.openvpn.net/packages/apt/conf/openvpn-lenny.list |
| 22 | $ apt-get update && apt-get install openvpn |
| 23 | }}} |
| 24 | |
| 25 | == Ubuntu Lucid Lynx (10.04) == |
| 26 | |
| 27 | {{{ |
| 28 | $ cd /etc/apt/sources.list.d |
| 29 | $ wget http://build.openvpn.net/packages/apt/conf/openvpn-lucid.list |
| 30 | $ apt-get update && apt-get install openvpn |
| 31 | }}} |