Chapter 2. Distribution specific installation
To use eurephia, you need to install eurephia and an OpenVPN version with the eurephia patch included. Both eurephia and the patched OpenVPN version are already available in a few distributions. If your distribution is not listed here, you will need to compile it manually as described in the next chapter.
There are two ways to do the installation on Arch Linux. One is using AUR helpers, the other one is to download the Arch Linux package files and build them manually.
Using clyde:
root@host: ~ # clyde -S openvpn-eurephia eurephia
Using yaourt:
root@host: ~ # yaourt -S openvpn-eurephia eurephia
First install the eurephia enabled OpenVPN version:
root@host: ~ # wget http://aur.archlinux.org/packages/openvpn-eurephia/openvpn-eurephia.tar.gz
root@host: ~ # tar xzvpf openvpn-eurephia.tar.gz
root@host: ~ # cd openvpn-eurephia
root@host: ~/openvpn-eurephia # makepkg -s
root@host: ~/openvpn-eurephia # pacman -U openvpn-eurephia-2.1.3-2-{your_arch}.pkg.tar.xz
root@host: ~/openvpn-eurephia # cd ..
Replace {your_arch} with the OS architecture corresponding to your system installation. Valid values are i686 and x86_64
It is a similar approach to install the eurephia package:
root@host: ~ # wget http://aur.archlinux.org/packages/eurephia/eurephia.tar.gz
root@host: ~ # tar xzvpf eurephia.tar.gz
root@host: ~ # cd eurephia
root@host: ~/eurephia # makepkg -s
root@host: ~/eurephia # pacman -U eurephia-1.0.1-1-{your_arch}.pkg.tar.xz
Again you will need to replace {your_arch} with the OS architecture corresponding to your system installation. It should be the same value as the one you used for installing OpenVPN.
After you have used initialised the eurephia database, it is advisable to remove the eurephia_init binary. This binary is typically run only once during the initialisation of eurephia. Remove it from a shell using the rm command:
[root@host ~]# rm -f /usr/bin/eurephia_init