Skip to content

Instantly share code, notes, and snippets.

@itewqq
Last active May 12, 2023 08:28
Show Gist options
  • Save itewqq/c4fbc4f37f0acc33e09a8ed5ad305be4 to your computer and use it in GitHub Desktop.
Save itewqq/c4fbc4f37f0acc33e09a8ed5ad305be4 to your computer and use it in GitHub Desktop.
Make intel-sgx-psw deb_local_repo in debian 11

Append the following text to linux/installer/deb/local_repo_tool/conf/distributions:

Origin: Intel Corporation
Label: Intel Corporation
Codename: bullseye
Architectures: amd64
Components: main
Description: debian/bullseye repository for SGX PSW
DebIndices: Packages .

Then edit in /etc/apt/sources.list.

deb [trusted=yes arch=amd64] file:/PATH_TO_LOCAL_REPO bullseye main

Install the packages:

$ sudo apt update
$ sudo apt-get install libsgx-launch libsgx-urts libsgx-epid libsgx-quote-ex libsgx-dcap-ql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment