Skip to content

Instantly share code, notes, and snippets.

@jonathanpmartins
Last active July 28, 2019 03:14
Show Gist options
  • Star 35 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save jonathanpmartins/2510f38abee1e65c6d92 to your computer and use it in GitHub Desktop.
Save jonathanpmartins/2510f38abee1e65c6d92 to your computer and use it in GitHub Desktop.
Install Libsodium on Ubuntu 14.04.3 LTS Trusty
#!/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;
@JHPSoft
Copy link

JHPSoft commented Mar 13, 2018

thx for loodsitnl

It works for me

@RussellLuo
Copy link

This is really helpful! Thanks!

@shannonliang312
Copy link

thanks!

@AshMillenium
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