emp-toolkit / emp-zk

Efficient and Interactive Zero-Knowledge Proofs
Other
77 stars 18 forks source link

Installation fails on Redhat #17

Closed Tabaie closed 2 years ago

Tabaie commented 2 years ago

The install script attempts to call the apt package manager, while Redhat comes with yum/dnf.

wangxiao1254 commented 2 years ago

yes. For redhat, you will need to install the packages by your self. then you can run python3 install.py --tool --ot --zk for the rest part of the installation. The packages are cmake git build-essential libssl-dev

Tabaie commented 2 years ago

yum install libssl-dev gets "Error: Unable to find a match." yum install openssl-devel seems to work.

weikengchen commented 2 years ago

It appears that the names are different in RedHat, I often used Google to find what the right name is...

https://unix.stackexchange.com/questions/105969/installing-openssl-shared-libraries-on-centos-6-5

and yes, it is openssl-devel.

Maybe we should add the instructions :) do you want to make a PR?

Tabaie commented 2 years ago

I would love to. I've played around with the build process a good bit.

wangxiao1254 commented 2 years ago

That would be great. Will also benefit other packages as well. the dependencies installation is done at https://github.com/emp-toolkit/emp-readme/blob/master/scripts/install.py#L4 right now :)

wangxiao1254 commented 2 years ago

Closing this issue. If you get the chance to improve the installation script, feel free to open a PR in emp-readme :)