Browse Source

[Doc] Fix installation instructions for python3-protobuf for Graphene-SGX build

Jia Zhang 4 years ago
parent
commit
1b8c2de9ce
1 changed files with 7 additions and 2 deletions
  1. 7 2
      Documentation/oldwiki/Introduction-to-Graphene.md

+ 7 - 2
Documentation/oldwiki/Introduction-to-Graphene.md

@@ -43,9 +43,14 @@ To install the prerequisites of Graphene on Ubuntu, run the following command:
 
     sudo apt-get install -y build-essential autoconf gawk bison
 
-To build Graphene for SGX, run the following command in addition:
+To build Graphene for SGX, run the following commands in addition (depending on your Ubuntu version):
 
-    sudo apt-get install -y python-protobuf
+    # For Ubuntu 18.04
+    sudo apt-get install -y python3-protobuf
+
+    # For Ubuntu 16.04
+    sudo apt install -y python3-pip
+    sudo /usr/bin/pip3 install protobuf
 
 To run tests, you also need the python3-pytest package: