Guest User

Untitled

a guest
Feb 8th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. $ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
  2. gpg: no valid OpenPGP data found.
  3.  
  4. $ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key -add
  5. gpg: no valid OpenPGP data found.
  6.  
  7. curl -k https://deb.nodesource.com/gpgkey/nodesource.gpg.key
  8. curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
  9.  
  10. curl --version
  11. curl 7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1
  12. Protocols: tftp ftp telnet dict ldap ldaps http file https ftps
  13. Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
  14.  
  15. #! /usr/bin/env bash
  16.  
  17. # Install any build dependencies needed for curl
  18. sudo apt-get build-dep curl
  19.  
  20. # Downloaded and build lastest available version at 02/08/2017
  21. mkdir ~/curl
  22. cd ~/curl
  23. wget --no-check-certificate http://curl.haxx.se/download/curl-7.52.1.tar.bz2
  24. tar -xvjf curl-7.52.1.tar.bz2
  25. cd curl-7.52.1
  26.  
  27. # The usual steps for building an app from source
  28. ./configure
  29. make
  30. sudo make install
  31.  
  32. # Resolve any issues of C-level lib
  33. # location caches ("shared library cache")
  34. sudo ldconfig
Advertisement
Add Comment
Please, Sign In to add comment