Debian/Ubuntu
Protecting your Debian/Ubuntu software with RunSafe Protect is as easy as installing the packages from our apt repository and making a one line change to your build environment.
Install RunSafe Protect
- Add the RunSafe Security repo to list of repositories apt will check for packages
curl -1sLf "https://packages.runsafesecurity.com/runsafe-security/runsafe/setup.deb.sh" | sudo -E bash
- Update the apt cache
sudo apt-get update
- Install the
alkemist-lfrpackage
sudo apt-get install -y alkemist-lfr
Add RunSafe Protect
Now that your system contains the files necessary for Code to run, prepend your build commands (make, gcc, g++, etc) with lfr-helper to automatically integrate Code into your existing build process:
<your build command>
becomes
RUNSAFE_LICENSE_KEY=<your license key> lfr-helper <your build command>
tip
You can retrieve your license key from https://app.runsafesecurity.com/account/license-key
Example GCC Integration
gcc -o hello_world hello_world.c
becomes
RUNSAFE_LICENSE_KEY=<your license key> lfr-helper gcc -o hello_world hello_world.c
Specifying your License Key
As shown above, your license key can be pre-pended to the specific build command. Additional information on specifying a license key, including when in offline mode, can be found at Specify Your License