Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
APSIA
UUHD-PPLS
Commits
c016f7a6
Commit
c016f7a6
authored
Mar 16, 2021
by
Aditya Damodaran
Browse files
Fixed install scripts
parent
25c04ff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
install_ubuntu.sh
View file @
c016f7a6
#!/bin/bash
# SPDX-FileCopyrightText: 2021 University of Luxembourg
# SPDX-License-Identifier: CC0-1.0
# SPDXVersion: SPDX-2.2
sudo
apt-get update
sudo
apt-get
install
-y
openssl gcc python3.6 python3-pip flex bison byacc git cmake libssl-dev
mkdir
requirements
&&
cd
requirements
wget https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz
wget https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz
git clone
"https://github.com/JHUISI/charm.git"
tar
-xvf
gmp-6.2.1.tar.xz
tar
-xvf
pbc-0.5.14.tar.gz
cd
gmp-6.2.1
./configure
make
sudo
make
install
cd
..
cd
pbc-0.5.14
./configure
make
sudo
make
install
cd
..
cd
charm/charm/core/math/pairing/relic
wget https://github.com/relic-toolkit/relic/archive/relic-toolkit-0.5.0.tar.gz
tar
-xvf
relic-toolkit-0.5.0.tar.gz
mkdir
relic-target
&&
cd
relic-target
sudo
../buildRELIC.sh ../relic-relic-toolkit-0.5.0/
cd
../../../../../../
./configure.sh
--enable-pairing-relic
make
sudo
make
install
sudo
ldconfig
-v
cd
../../
python3.6
-m
pip
install
-r
requirements.txt
#!/bin/bash
# SPDX-FileCopyrightText: 2021 University of Luxembourg
# SPDX-License-Identifier: CC0-1.0
# SPDXVersion: SPDX-2.2
sudo
apt-get update
sudo
apt-get
install
-y
openssl gcc python3.6 python3-pip flex bison byacc git cmake libssl-dev
mkdir
requirements
&&
cd
requirements
wget https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz
wget https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz
git clone
"https://github.com/JHUISI/charm.git"
tar
-xvf
gmp-6.2.1.tar.xz
tar
-xvf
pbc-0.5.14.tar.gz
cd
gmp-6.2.1
./configure
make
sudo
make
install
cd
..
cd
pbc-0.5.14
./configure
make
sudo
make
install
cd
..
cd
charm/charm/core/math/pairing/relic
wget https://github.com/relic-toolkit/relic/archive/relic-toolkit-0.5.0.tar.gz
tar
-xvf
relic-toolkit-0.5.0.tar.gz
mkdir
relic-target
&&
cd
relic-target
sudo
../buildRELIC.sh ../relic-relic-toolkit-0.5.0/
cd
../../../../../../
./configure.sh
--enable-pairing-relic
make
sudo
make
install
sudo
ldconfig
-v
cd
../../
python3.6
-m
pip
install
-r
requirements.txt
python3.6 ./protocol.py
-h
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment