Linux source code package compilation and installation

Source: Internet
Author: User
Tags openssl linux

Linux Source code package compilation installation is actually not so complicated.

I am win7 system installed virtual machine, on the simple:

For a simple example:

http://www.openssl.org/

This is OpenSSL's official website, download OpenSSL package (the official website is certainly safe) if other online download--scripts see the package of the script in play, do not finally install a remove found "/" No.

Then upload to your virtual machine, if you do not know how to upload up, then don't learn.

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

The red is downloaded on the net, the blue is I unpacked said. Unzip or generate a blue directory.

Tar zxvf openssl-1.0.1g.tar.gz

Enter this directory

CD openssl-1.0.1g

LS you will find very pair of packages, there are scripts and installation methods (the following is the contents of the install directory) and a variety of host installation methods:

./config--prefix=/opt/openssl executes the installation script and specifies where to install

Make compilation if finished in a moment, pay attention to read the newspaper wrong, certainly did not press GCC compile tool

Yum Install gcc-y 8 packs.

Make it 2 minutes.

Make install compile Installation

Source code Package Installation is these steps, put aside those code to compile their own do not say, this is not the first not to learn that.

When used,/opt/openssl absolute path You can also install directly to the system default package installation location.

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.