Linux Software Installation

Source: Internet
Author: User

Compile-and-interpret languages
Source Installation 3 Steps
1, configure and combine the necessary parameters to generate makefile
2. Run make command to generate various modules and main programs
3. Run the Make install command to copy the necessary files to the installation directory
Example
Enter the/usr/local/src/directory
Download wget httpd_xxx.tar.gz
Unzip the tar zxvf httpd_xxx.tar.gz
Enter the unpacked directory CD httpd-xxx
Run the Configure tool to generate makefile
./configure--prefix=/usr/local/apache/--enable-modules=most Specify the installation path & enable most Apache modules
If all goes well, the makefile file will be generated in the current directory
Then make && make install
Launch Apache service, view Port 80
/usr/local/apache/bin/apachectl start
Lsof-i:80

RMP Package Management
Rpm-i-v-u-h-e-a-p-l-f
RPM-IVH test.rpm
RPM-IVH--test abc.rpm
RPM-IVH--relocate =/usr/local/abc.rpm
RPM-UVH abc.rpm
RPM-E ABC
RPM-Q ABC

Yum
Yum Install httpd
Yum Update httpd
Yum List
Yum Remove

Linux Software Installation

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.