-
Notifications
You must be signed in to change notification settings - Fork 0
Charm installation guide
wanzhiguo edited this page Jun 10, 2018
·
4 revisions
Before installing Charm, there are a few prerequisites that need to be installed on your system. These are:
sudo apt-get install subversion
sudo apt-get install m4
sudo apt-get install python3
-
sudo apt-get install python-dev (if you did NOT install Python 3)
-
sudo apt-get install python3-setuptools python3-dev (for Python 3.x)
sudo apt-get install libssl-dev
sudo apt-get install libgmp-dev
We must first run the configuration script:
sudo ./configure.sh
-
Download source from PBC website:
wget https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz
-
tar xzvf pbc-0.5.14.tar.gz
-
sudo apt install flex bison
-
./configure LDFLAGS="-lgmp"
-
make
-
sudo make install
-
sudo ldconfig
-
sudo make
-
sudo make install
-
Or you can install via pip:
pip install charm-crypto==0.43
, without download source code of charm-crypto.
sudo ldconfig
sudo make test