Getting the Installer

Contact support@anjuna.io to get the Anjuna SGX Runtime installer  —  anjuna-runtime-ubuntu-release-1.35.0003.bin

The Anjuna SGX Runtime installer is an executable that performs the following tasks:

  1. Check for Intel® SGX compatibility

  2. Check for a compatible operating system

  3. Check for the availability of the Intel® SGX driver, installing it if necessary

  4. Check for the availability of the Intel® PSW software, installing it if necessary

  5. Install the Anjuna SGX Runtime

  6. Install the Anjuna encryption and decryption tools

  7. Install the Anjuna attestation tools

Example: Installing on Ubuntu 18

This section shows how to install the Anjuna SGX Runtime on an Ubuntu 18 (or Ubuntu 20) system step-by-step. Installing on other supported systems follows the same steps, but with an installer appropriate to the system.

  1. If you have not done so already, contact support@anjuna.io to get the Anjuna SGX Runtime installer  —  anjuna-runtime-ubuntu-release-1.35.0003.bin

  1. Ensure that the installer is executable:

  $ chmod +x anjuna-runtime-ubuntu-release-1.35.0003.bin
  1. Display the installer’s help message:

  $ ./anjuna-runtime-ubuntu-release-1.35.0003.bin --help

Anjuna SGX Runtime self-extracting installer

Usage: ./anjuna-runtime-ubuntu-release-1.35.0003.bin [OPTIONS]
Run this file to extract and install Anjuna Runtime.

Available options:
  -v, --verbose   Print more information during the setup
  -l, --list      List the content of this package
  -e, --extract   Extract the package, but skip the setup
  -t, --tar       Generate a TAR file that contains the whole package
  -h, --help      Print this message
      --clean     Re-install the Intel SGX Driver and Intel PSW even if they
                  were already installed. By default, the installer will setup those
                  components only if the they are not already installed

  --version       Print the version information
  1. Run the installer

  $ ./anjuna-runtime-ubuntu-release-1.35.0003.bin

The installer produces output similar to the following:

Anjuna SGX Runtime self-extracting installer

 Checking for Operating System
 Found Ubuntu 18.04.3 LTS

 Checking for SGX Hardware support
 This host is SGX capable (sgx_is_capable => 1)

 <... snip ...>

 Checking for OS packages
 - Package [wget] alread installed
 - Package [jq] alread installed
 - Package [python] alread installed
 - Package [libprotobuf-dev] alread installed
 - Package [build-essential] alread installed
 - Package [libssl-dev] alread installed
 - Package [libcurl4-openssl-dev] alread installed
 - Package [linux-headers-4.15.0-45-generic] alread installed

 Checking for Intel SGX Driver
 Found Intel Driver

 Checking for Anjuna SGX module
 Found Anjuna SGX module

 Kernel module status:
 anjuna                 16384  0
 isgx                   45056  2

 Checking for Intel PSW
 Intel AESMD service already running
 vm.mmap_min_addr already set to 0


 Summary:
 Anjuna SGX Runtime fully installed (1)
 Run the following command to setup your environment

    source /home/sgx/anjuna-runtime-ubuntu18-release-1.35.0003/env.sh
1 indicates that the Anjuna SGX Runtime was properly installed.