If you're running a local machine and not a cloud-based VM -
- 1.Go to your BIOS menu
- 2.Enable SGX (Software controlled is not enough)
- 3.Disable Secure Boot
- 4.Disable Hyperthreading (recommended)
sgx_linux_x64_driver_2.11.0_2d2b795.binis the latest driver as of August 24th, 2021. Please check under https://download.01.org/intel-sgx/sgx-linux/ that this is still the case. If not, please send us a PR or notify us.
If you are a node runner all you must do to install SGX is to save this as a script and run it.
- 1.Download the SGX install script.
Execute the script.
sudo bash sgx
Copy of raw script.
sudo apt-get update && sudo apt upgrade -y
sudo apt-get install make build-essential gcc git jq chrony -y
UBUNTUVERSION=$(lsb_release -r -s | cut -d '.' -f 1)
PSW_PACKAGES='libsgx-enclave-common libsgx-urts sgx-aesm-service libsgx-uae-service autoconf libtool make gcc'
if (($UBUNTUVERSION < 16)); then
echo "Your version of Ubuntu is not supported. Must have Ubuntu 16.04 and up. Aborting installation script..."
elif (($UBUNTUVERSION == 16)); then
elif (($UBUNTUVERSION == 18)); then
elif (($UBUNTUVERSION == 20)); then