Linux RPM package differs from source package

Source: Internet
Author: User

1. Difference

    • Differences before installation: conceptual differences

    • The difference after installation: different installation locations

2, RPM Package installation location

    • Installed in the default location

RPM Default installation location
/etc/ Configuration file installation directory
/usr/bin/ Executable Command installation directory
/usr/lib/ function library installation directory used by the program
/usr/share/doc Basic Software Manual Save Directory
/usr/share/man Help File Save location

3. Source Package Installation Location

    • Installed in the specified location, is generally

/usr/local/Software name/

4, the impact of different installation location

    • RPM Package-installed services can be managed using the System Service Management Command (Serbice), for example

The boot method for Apache such as RPM package installation is:

    • /ETC/RC.D/INIT.D/HEEPD start

    • Service httpd Start

    • Source Package Installation Services can not be managed by the Service Management command, because there is no installation

to the default path. Therefore, the service can only be managed with an absolute path, such as:

    • /usr/local/apache2/bin/apachectl start

This article is from the "cloud" blog, be sure to keep this source

Linux RPM package differs from source package

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: 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.