Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 980 Bytes

README.md

File metadata and controls

48 lines (34 loc) · 980 Bytes

Environment:

Required Libraries

Install For Ubuntu

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

How to compile:

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.

How to run:

Before you actually run the program, you must run the command below.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib