Skip to main content

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

  1. 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
  1. Update the apt cache
sudo apt-get update
  1. Install the alkemist-lfr package
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