Compiling Mullvad VPN app on Pi 4B
Posted: Thu Feb 27, 2020 9:28 am
Hi,
I am trying to compile the open source Mullvad VPN app on Pi 4B running DietPi (a raspbian 9.0 distribution).
They do include instructions on their github page:
https://github.com/mullvad/mullvadvpn-a ... /README.md
However, I don't feel confident enough in my linux CLI skills to experiment with this.
As I see it, I have to do the following steps to compile and install Mullvad VPN:
1. Check out from git repo
2. Get all build dependencies
3. Get/install rust
Just download and unpack the node-v12.xxxx.tar.xz tarball and add its bin directory to your PATH.
I am actually not sure how to go about this.
4. Build the application
As I understand, this should create a ARM deb file, which I then install.
How do I get it run at boot? Do I need run something similar to this:
For Raspbian:
For DietPi:
Do I need to create a systemd service?
Any additional guidance would be greatly appreciated. I've compiled headless applications on DietPi before, but only with the help of in-depth, step by step guides for Raspbian/DietPi.
I am trying to compile the open source Mullvad VPN app on Pi 4B running DietPi (a raspbian 9.0 distribution).
They do include instructions on their github page:
https://github.com/mullvad/mullvadvpn-a ... /README.md
However, I don't feel confident enough in my linux CLI skills to experiment with this.
As I see it, I have to do the following steps to compile and install Mullvad VPN:
1. Check out from git repo
Code: Select all
git clone https://github.com/mullvad/mullvadvpn-app.git
cd mullvadvpn-app
git submodule update --init
Code: Select all
# For building the daemon
sudo apt install gcc libdbus-1-dev
# For building the installer
sudo apt install rpm
Just download and unpack the node-v12.xxxx.tar.xz tarball and add its bin directory to your PATH.
I am actually not sure how to go about this.
4. Build the application
Code: Select all
./build.sh --dev-build
How do I get it run at boot? Do I need run something similar to this:
For Raspbian:
Code: Select all
sudo useradd -rm mullvad -G pi -s /usr/sbin/nologinCode: Select all
sudo useradd -rm mullvad -G dietpi -s /usr/sbin/nologinAny additional guidance would be greatly appreciated. I've compiled headless applications on DietPi before, but only with the help of in-depth, step by step guides for Raspbian/DietPi.