-
gmp 6.3 https://gmplib.org/
-
openssl 3.0.2 15 https://www.openssl.org/
-
PBC 0.5.4 https://crypto.stanford.edu/pbc/
sudo apt install openssl
sudo apt install libgmp-dev
sudo apt install flex
sudo apt install bison
wget https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz
tar -xzf ./pbc-0.5.14.tar.gz
cd ./pbc-0.5.14
./configure
sudo make
sudo make install
After you huav installed the required libraries, run the command below to compile the program.
sh ./compile.sh
Then the program will appear in the bin
folder.
Before you actually run the program, you must run the command below.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib