-
-
Save jonathanpmartins/2510f38abee1e65c6d92 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
sudo add-apt-repository ppa:chris-lea/libsodium; | |
sudo echo "deb http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list; | |
sudo echo "deb-src http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list; | |
sudo apt-get update && sudo apt-get install libsodium-dev; |
1.0.10 version is here https://launchpad.net/~ondrej/+archive/ubuntu/php/
How to use
apt-get install -y software-properties-common
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
apt-get update
apt-get install -y libsodium-dev
On 16.04
at least, we have https://launchpad.net/ubuntu/+source/libsodium
sudo apt install libsodium-dev
thanks
Hi,
At last this worked for me:
sudo apt-get install -y software-properties-common
sudo bash -c "LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php"
sudo apt-get update
sudo apt-get install -y libsodium-dev
thanks
Hi,
Will this
sudo apt-get install -y software-properties-common
sudo bash -c "LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php"
sudo apt-get update
sudo apt-get install -y libsodium-dev
Works with php5.6 ??
Thanks
Thanks a lot. with this info, I've solved a sodium.h error message during node-multi-hashing compile process of my NOMP mining pool.
thx for loodsitnl
It works for me
This is really helpful! Thanks!
thanks!
2nd and 3rd command is giving me following error.
what should i do?
bash: /etc/apt/sources.list: Permission denied
I am getting access denied for lines 2 and