Skip to content

Commit bf9d275

Browse files
author
Dmitrii Kuvaiskii
committed
[Docs] Reflect new way of packaging in v1.3
v1.3 uses `bionic` and `focal` Gramine repositories for Ubuntu 18.04 and 20.04 instead of the common `stable` repo. Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
1 parent dcc0eb5 commit bf9d275

File tree

2 files changed

+41
-13
lines changed

2 files changed

+41
-13
lines changed

Documentation/cloud-deployment.rst

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,27 @@ VM instances. The description below uses a *DCsv3 VM* running Ubuntu
2424
Install Gramine
2525
^^^^^^^^^^^^^^^
2626

27-
Add a Gramine repository::
27+
On Ubuntu 20.04::
2828

2929
sudo curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring.gpg
30-
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ stable main' | sudo tee /etc/apt/sources.list.d/gramine.list
31-
32-
Add Intel SGX repository::
30+
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ focal main' | sudo tee /etc/apt/sources.list.d/gramine.list
3331

3432
curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
3533
echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
36-
# (if you're on Ubuntu 18.04, write "bionic" instead of "focal" above)
37-
38-
Install Gramine (DCAP driver version) on Ubuntu 18.04::
3934

4035
sudo apt-get update
41-
sudo apt-get install gramine-dcap
36+
sudo apt-get install gramine
4237

43-
Install Gramine (in-kernel driver version) on Ubuntu 20.04::
38+
On Ubuntu 18.04::
4439

45-
sudo apt-get install gramine
40+
sudo curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring.gpg
41+
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ bionic main' | sudo tee /etc/apt/sources.list.d/gramine.list
42+
43+
curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
44+
echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
45+
46+
sudo apt-get update
47+
sudo apt-get install gramine-dcap
4648

4749
Prepare a signing key
4850
^^^^^^^^^^^^^^^^^^^^^

Documentation/quickstart.rst

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,41 @@ package (see below).
2424
Install Gramine
2525
---------------
2626

27-
On Ubuntu 18.04 or 20.04 (for 18.04, in :file:`intel-sgx.list`, replace
28-
``focal`` with ``bionic``)::
27+
On Ubuntu 22.04 and Debian 11::
2928

3029
sudo curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring.gpg
3130
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ stable main' | sudo tee /etc/apt/sources.list.d/gramine.list
3231

3332
curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
3433
echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
35-
# (if you're on Ubuntu 18.04, remember to write "bionic" instead of "focal")
34+
35+
sudo apt-get update
36+
37+
sudo apt-get install gramine # for 5.11+ upstream, in-kernel driver
38+
sudo apt-get install gramine-oot # for out-of-tree SDK driver
39+
sudo apt-get install gramine-dcap # for out-of-tree DCAP driver
40+
41+
On Ubuntu 20.04::
42+
43+
sudo curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring.gpg
44+
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ focal main' | sudo tee /etc/apt/sources.list.d/gramine.list
45+
46+
curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
47+
echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
48+
49+
sudo apt-get update
50+
51+
sudo apt-get install gramine # for 5.11+ upstream, in-kernel driver
52+
sudo apt-get install gramine-oot # for out-of-tree SDK driver
53+
sudo apt-get install gramine-dcap # for out-of-tree DCAP driver
54+
55+
On Ubuntu 18.04::
56+
57+
sudo curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring.gpg
58+
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ bionic main' | sudo tee /etc/apt/sources.list.d/gramine.list
59+
60+
curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
61+
echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
3662

3763
sudo apt-get update
3864

0 commit comments

Comments
 (0)