Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Libsodium on Ubuntu 14.04.3 LTS Trusty
sudo add-apt-repository ppa:chris-lea/libsodium;
sudo echo "deb trusty main" >> /etc/apt/sources.list;
sudo echo "deb-src trusty main" >> /etc/apt/sources.list;
sudo apt-get update && sudo apt-get install libsodium-dev;
Copy link

zafhar commented Sep 13, 2017

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 ??


Copy link

jeong760 commented Nov 3, 2017

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.

Copy link

JHPSoft commented Mar 13, 2018

thx for loodsitnl

It works for me

Copy link

This is really helpful! Thanks!

Copy link


Copy link

2nd and 3rd command is giving me following error.
what should i do?

bash: /etc/apt/sources.list: Permission denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment