Skip to content

How to install Intel SGX Driver on Ubuntu

Mats edited this page Mar 9, 2020 · 8 revisions

In this tutorial we will describe how to set up Intel SGX on a Linux system. Primarily we will deal with the installation of the SGX driver.

First of all, we have to download the latest Intel SGX release (for example Intel SGX Linux 2.8 Release) on the following page:

Screenshot 2020-02-23 at 00 33 03

Please make sure to use the SGX release for Ubuntu 18.04. Subsequently you will be redirected to a mirror where two binary files are contained.

Screenshot 2020-02-23 at 00 34 22

Download the driver file sgx_linux_x64_driver_<version>.bin and navigate to the destinated location in the filesystem. Before we can run the file, we have to use the chmod command to make it executable.

  • chmod +x sgx_linux_x64_driver_<version>.bin

Now you can run the driver installation with root privileges. sudo ./sgx_linux_x64_driver_2.6.0_51c4821.bin


After execution of the .bin file, the SGX driver has been successfully installed and is ready for use.