Installation and management of software under Linux

Source: Internet
Author: User
Tags apache download

First, the source installation method:

1. Download and unzip the source package
Usually the source package format: ". tar.gz", ". tar.bz2"
2. Analyze the installation platform environment
./configure can be followed by software installation path and required module options
3. Compiling and installing the software
After the./configure is executed, the makefile file is generated in the current directory
When you enter the Make command, the makefile file is found in the current directory
PS: If you use other files as makefile, you need to make files such as: Make-f Make_file

Chestnut: By soft install Apache HTTP Server

Create installation directory: Make-p/application/apache into the installation directory: Cd/application/apache download Apache Source: wget source file link (httpd-2.4.12.tar.gz) Unzip the source package: Tar XF httpd-2.4.12.tar.gz into the unpacked file directory: CD httpd-2.4.12.tar.gz compilation software:./configure--prefix=/application/ apache2.2.27--enable-deflate--enable-expires--enable-headers--enable-modules=most--enable-so--with-mpm=worker- -enable-rewrite installation software: Make && make install Second, RPM package installation

RPM is an abbreviation for Red Hat Package manager and is meant to be the Red Hat packages manager. Because this software is very convenient, and is gradually borrowed by other Linux vendors, it has become a common software package management method under the Linux platform.
Command format: (can be installed with multiple files)
Package Installation: Rpm-ivh file1.rpm file2.rpm
Package query: Rpm-qa file1.rpm
1)-F Query the RPM installation package for a file
2)-P query package name with ". RPM" Suffix for package installation
3)-L displays a list of all files in the package
4)-I display the package profile (software name, version, adaptation platform, size)
5)-G query system which packages are available for a given class
Uninstall Package: Rpm-e file1.rpm

Three, Yum installation method

Check if Yum is already installed
Rpm-qa|grep Yum
If no return value is not installed
RPM-IVH yum-*.noarch.rpm
Yum master configuration file:/etc/yum.conf
Resource Pool configuration directory:/ETC/YUM.REPOS.D

Installation and management of software under Linux

Related Article

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.