Ubuntu 14.04 Install OpenSSL

Source: Internet
Author: User
Tags install openssl openssl version
Method One

sudo apt-get install OpenSSL
sudo apt-get install Libssl-dev method two

Download the compressed package to OpenSSL website
http://www.openssl.org/source/
What I'm downloading here is openssl-1.0.1q.tar.gz.
I'm using the root user login, so the following command saves Sudo, and if you're not logged in with the root user, add your own

1) Tar zxvf openssl-1.0.1q
2./config Shared (the default path for installation is/USR/LOCAL/SSL, please add –prefix=/yourpath if you want to change the directory)
3) Make
4) Make Test
5) make Install

Create a symbolic link (this can be done, see your needs)
#ln-S/usr/local/ssl/bin/openssl/usr/bin/openssl
#ln-S/usr/local/ssl/include/openssl/usr/include/openssl

Refreshing Dynamic Library Configuration
#vim/etc/ld.so.conf
Add at end of file
/usr/local/ssl/lib

Test (if you do not create a symbolic link, the following command takes a specific path)
OpenSSL version-a

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.