Installing VpnCloud
Installing on Debian-based systems
You can find the most current deb packages in my repository:
$> echo "deb https://repo.ddswd.de/deb stable main" | sudo tee /etc/apt/sources.list.d/vpncloud.list
$> wget https://repo.ddswd.de/deb/public.key -qO - | sudo apt-key add
$> sudo apt update
$> sudo apt install vpncloud
Also, deb packages for each release can be found in the releases section. Currently only packages for x86, amd64, arm64, and armhf are available. If you need a package for a different architecture, let me know. Maybe I can add it to the automated build process.
Installing on RPM-based systems
RPM packages for each release can be found in the releases section. Currently only packages for x86_64 are available. If you need a package for a different architecture, let me know. Maybe I can add it to the automated build process.
Arch Linux (AUR)
There is a VpnCloud package for Arch Linux which is maintained by the AUR community (sometimes outdated).
Compiling from source
Prerequisites
To compile VpnCloud you need asciidoctor
, cargo
, and a full C build environment including autotools.
The required packages can be installed on Debian-based systems via:
$> sudo apt get install build-essential asciidoctor
and on RPM-based systems via:
$> yum groupinstall -y 'Development Tools'
$> yum install -y ruby && gem install asciidoctor -v 2.0.10
Compilation
The checked-out code can be compiled with:
$> cargo build --release
The binary could then be found in target/release/vpncloud
.
Running the tests
The tests can be run via
$> cargo test
Compiling for other architectures (Cross-Compilation)
This software can be cross-compiled for a number of different architectures.
You can use the automated packaging script to create packages for different distributions and architectures.
Please also see the extended rust cross compilation docs if you want to cross-compile for a new architecture.