-
Notifications
You must be signed in to change notification settings - Fork 0
How to install Intel SGX SDK on Ubuntu
For developing purposes we need to install the SDK (Software Development Kit). The Intel SGX SDK is required to create custom software solutions that are executed by the Intel SGX driver. The SDK includes the following components: APIs, Libraries, Documentation, Sample source code and Tools. Just like getting the driver binary file, we can obtain the SDK binary file on the following page:
❗ Note: In the meantime Linux SGX version 2.9 has been released. It is possible that the manual also applies to version 2.9. However, the manual has been tested with version 2.8.
Please pay attention to use the SGX release for Ubuntu 18.04. Subsequently you will be redirected to a mirror containing two binary files.
We have to download the SDK file sgx_linux_x64_sdk_<version>.bin
and navigate to the destinated location in the filesystem. Before we are able to run the file, we have to use the chmod
command to make it executable.
cd ~/Downloads
chmod +x sgx_linux_x64_sdk_<version>.bin
Now we are able to install the SDK by running the following command with sudo permissions.
sudo ./sgx_linux_x64_sdk_<version>.bin
A wizard will help us to install the SDK. Pay attention to install the SDK to /opt/intel/
. Basically the SDK can be installed in any folder, but the installation in /opt/intel
will save us configuration steps later on.
Do you want to install in current directory? n
Please input the directory which you want to install in: /opt/intel
Now we just have to remember to add the SDK environment using source
command.
source /opt/intel/sgxsdk/environment
The installation is now completely finished. Basically we can now start developing an SGX application.
🛠️ How to install Intel SGX Driver on Ubuntu
🛠️ How to install Intel SGX SDK on Ubuntu
🎯 Validate that your Intel SGX Setup is working correctly
💻 How to setup the Eclipse IDE (with SGX Plugin)
⭐ How to setup the first SGX Project
📊 How to analyse an SGX Enclave? (Installation and Usage)
📁 Brief introduction: SQLite's Virtual File System