Linux under the installation of the source software package

Source: Internet
Author: User

When we use Linux as a server, because Linux comes with a little bit old, not the latest, but sometimes we use the latest software for the latest software to install the source.

So we need to do it with our heart ...

When we get a software source, the source code is generally used tar.gz or tar.bz2 end.

Source code--"Configuration file (./configure)--" compile (Makefile)--(Executable header file manual)--"Installation

For the installation of the source code, we say XI ' an to determine the machine installed the build environment

Use Yum grouplist |less to see if you have installed

Develoment libraries and develoment tools development environment, if not,

Please install first, otherwise cannot install the source code

Then we first have to unpack the source code

TAR-ZXVF Source Code-c/usr/local/src/(extract the source package to a path,/usr/local/src/is the system for us to store the source code after the resolution of the file path)

After the source code decompression, we can install the source code.

Source file after decompression into the disassembly of the file, you will generally see a lot of folders or files, which have a install file or readme file, as well as configuration files This is our installation must look before the instructions

Let's do an experiment with the Apache service as an example.

Before installing the source code to the machine, into the directory

Directory after entering the Apsche disassembly

We see a install file, look at

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.