Linux Source Package installation process

Source: Internet
Author: User

Redhat provides the format of the installation package in. rpm format, if you need to customize the installation directory and the corresponding features, you need to use the source package for installation, the use of source package installation requires the following several procedures

    1. First download the source installation package from the official website, the name is generally. tar.gz,.tgz,.tar.bz2 format, after the download is complete, unzip, into the extracted directory

    2. Install and develop the appropriate toolkit, such as the "Development tools" group, gcc,gcc-c++

    3. Use the./configure--help command to view usage usage

    4. Make && make install

    5. Setting environment variables

      You can add path= $PATH in/etc/profile before the export PATH line:/usr/local/apache/bin Here, for example, Apache

    6. Load the appropriate library file

      cd/etc/ld.so.conf.d/create a new. conf file, write a row of the executable's directory in the. conf file, run

      LDCONFIG-V display of Loaded library files

    7. Header file path

      The default search path is/usr/include, using the soft link command,

      Ln-s/usr/local/apache/include/usr/include/apache

    8. To modify the path of the man file, add a row to Mandatory_manpath in vim/etc/man_db.conf

      Mandatory_manpath/path/to/man

Linux Source Package installation process

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.