You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note**: To build Intel(R) SGX SDK, gcc version is required to be 7.3 or above and glibc version is required to be 2.27 or above. For Ubuntu 16.04, Red Hat Enterprise Linux 7.6, you may need to update gcc and glibc version manually.
121
+
**Note**: To build Intel(R) SGX SDK, gcc version is required to be 7.3 or above and glibc version is required to be 2.27 or above. For Red Hat Enterprise Linux 7.6, you may need to update gcc and glibc version manually.
128
122
- Use the following command to install additional required tools and latest Intel(R) SGX SDK Installer to build the Intel(R) SGX PSW:
@@ -227,17 +221,14 @@ You can find the tools and libraries generated in the `build/linux` directory.
227
221
$ make
228
222
```
229
223
- To build the Intel(R) SGX PSW installer, enter the following command:
230
-
* On Ubuntu 16.04, Ubuntu 18.04 and Ubuntu 20.04:
224
+
* On Ubuntu 18.04 and Ubuntu 20.04:
231
225
```
232
226
$ make deb_psw_pkg
233
227
```
234
228
You can find the generated Intel(R) SGX PSW installers located under `linux/installer/deb/libsgx-urts`, `linux/installer/deb/libsgx-enclave-common`, `linux/installer/deb/libsgx-uae-service`, `linux/installer/deb/libsgx-epid`, `linux/installer/deb/libsgx-launch`, `linux/installer/deb/libsgx-quote-ex` and `linux/installer/deb/sgx-aesm-service` respectively.
235
229
236
-
**Note**: On Ubuntu 18.04 and Ubuntu 20.04, besides the Intel(R) SGX PSW installer, the above command generates another debug symbol package named ``package-name-dbgsym_${version}-${revision}_amd64.ddeb`` for debug purpose. On Ubuntu 16.04, if you want to keep debug symbols in the Intel(R) SGX PSW installer, before building the Intel(R) SGX PSW, you need to export an environment variable to ensure the debug symbols not stripped:
237
-
```
238
-
$ export DEB_BUILD_OPTIONS="nostrip"
239
-
```
240
-
**Note**: Starting with the 2.10 release, besides the Intel(R) SGX PSW installer, the above command generates [SGXDataCenterAttestationPrimitives](https://github.com/intel/SGXDataCenterAttestationPrimitives/) installers on OS newer than Ubuntu 16.04. Ubuntu 16.04 is not included because of GCC version.
230
+
**Note**: On Ubuntu 18.04 and Ubuntu 20.04, besides the Intel(R) SGX PSW installer, the above command generates another debug symbol package named ``package-name-dbgsym_${version}-${revision}_amd64.ddeb`` for debug purpose.
231
+
**Note**: Starting with the 2.10 release, besides the Intel(R) SGX PSW installer, the above command generates [SGXDataCenterAttestationPrimitives](https://github.com/intel/SGXDataCenterAttestationPrimitives/) installers as well.
241
232
242
233
**Note**: The above command builds the Intel(R) SGX PSW with default configuration firstly and then generates the target PSW Installer. To build the Intel(R) SGX PSW Installer without optimization and with full debug information kept in the tools and libraries, enter the following command:
243
234
```
@@ -264,10 +255,6 @@ You can find the tools and libraries generated in the `build/linux` directory.
264
255
265
256
- To add the local Debian package repository to the system repository configuration, append the following line to /etc/apt/sources.list. You need to replace PATH_TO_LOCAL_REPO with the proper path on your system:
266
257
267
-
* On Ubuntu 16.04:
268
-
```
269
-
deb [trusted=yes arch=amd64] file:/PATH_TO_LOCAL_REPO xenial main
270
-
```
271
258
* On Ubuntu 18.04:
272
259
```
273
260
deb [trusted=yes arch=amd64] file:/PATH_TO_LOCAL_REPO bionic main
@@ -277,7 +264,7 @@ You can find the tools and libraries generated in the `build/linux` directory.
277
264
deb [trusted=yes arch=amd64] file:/PATH_TO_LOCAL_REPO focal main
278
265
```
279
266
After that, you need to update the apt:
280
-
* On Ubuntu 16.04, Ubuntu 18.04 and Ubuntu 20.04:
267
+
* On Ubuntu 18.04 and Ubuntu 20.04:
281
268
```
282
269
$ sudo apt update
283
270
```
@@ -305,8 +292,6 @@ Install the Intel(R) SGX SDK
305
292
------------------------
306
293
### Prerequisites
307
294
- Ensure that you have one of the following operating systems:
308
-
* Ubuntu\* 16.04 LTS Desktop 64bits
309
-
* Ubuntu\* 16.04 LTS Server 64bits
310
295
* Ubuntu\* 18.04 LTS Desktop 64bits
311
296
* Ubuntu\* 18.04 LTS Server 64bits
312
297
* Ubuntu\* 20.04 LTS Desktop 64bits
@@ -316,7 +301,7 @@ Install the Intel(R) SGX SDK
316
301
* CentOS 8.2 64bits
317
302
* Fedora 31 Server 64bits
318
303
- Use the following command to install the required tool to use Intel(R) SGX SDK:
319
-
* On Ubuntu 16.04, Ubuntu 18.04 and Ubuntu 20.04:
304
+
* On Ubuntu 18.04 and Ubuntu 20.04:
320
305
```
321
306
$ sudo apt-get install build-essential python
322
307
```
@@ -371,8 +356,6 @@ Install the Intel(R) SGX PSW
371
356
----------------------------
372
357
### Prerequisites
373
358
- Ensure that you have one of the following operating systems:
374
-
* Ubuntu\* 16.04 LTS Desktop 64bits
375
-
* Ubuntu\* 16.04 LTS Server 64bits
376
359
* Ubuntu\* 18.04 LTS Desktop 64bits
377
360
* Ubuntu\* 18.04 LTS Server 64bits
378
361
* Ubuntu\* 20.04 LTS Desktop 64bits
@@ -386,7 +369,7 @@ Install the Intel(R) SGX PSW
386
369
- Configure the system with the **Intel SGX hardware enabled** option and install Intel(R) SGX driver in advance.
387
370
See the earlier topic, *Build and Install the Intel(R) SGX Driver*, for information on how to install the Intel(R) SGX driver.
388
371
- Install the library using the following command:
Optionally, you can install *-dbgsym or *-debuginfo packages to get the debug symbols, and install *-dev or *-devel packages to get the header files for development.
415
398
416
-
**NOTE**: To debug with sgx-gdb on Ubuntu 16.04, you need to ensure the Intel(R) SGX PSW is built under the condition that the environment variable ``DEB_BUILD_OPTIONS="nostrip"`` is set.
417
-
418
399
#### Using the individual packages
419
400
Please refer [Intel_SGX_Installation_Guide_Linux](https://download.01.org/intel-sgx/latest/linux-latest/docs/) for detail.
Some packages are configured with recommended dependency on other packages that are not required for certain usage. For instance, the background daemon is not required for container usage. It will be installed by default, but you can drop it by using the additional option during the installation.
0 commit comments