Setting up the shell environment

The last line of the Anjuna SGX Runtime installer, shown in the previous section, shows how to initialize your shell environment to work with the Anjuna SGX Runtime:

$ source $HOME/anjuna-runtime-ubuntu-release-1.51.0002/env.sh

Running this command defines a set of environment variables in your shell session that ensure that the Anjuna SGX Runtime works correctly with your system.

To make sure that the needed variables are always defined, run the following command to add the following line to your ~/.bash_profile, which ensures that the script runs every time you log in:

$ echo "source $HOME/anjuna-runtime-ubuntu-release-1.51.0002/env.sh" >> ~/.bash_profile
The above instructions assume that you installed the Anjuna SGX Runtime to the directory $HOME. If you installed to some other directory, make sure to adjust the path accordingly in the text that you add to your .bash_profile.