Linux Learning Note nine: General tarball Software Installation process (take ntp-4.2.4p7.tar.gz as an example)

Source: Internet
Author: User

1. Extract the source code to /USR/LOCAL/SRC

Cd/usr/local/src

Tar-zxvf/root/ntp-4.2.4p7.tar.gz

2. View readme/instll file

cdntp-4.2.4p7/

Moreinstall

3.generate The makefile file, specifying that it will be installed in the/USR/LOCAL/NTP directory in the future. If not specified, it is installed to the/usr/local directory by default .

./configure--help|more Viewing the parameters available at compile time

./configure--prefix=/usr/local/ntp

4. Compile and install

Makeclean

Make

Makecheck

Makeinstall

5. Add the mag page ofthe software to the man path search: Add a linein/etc/man.config: manpaht/usr/local/ntp/ Mans

or use the command man-m/usr/local/ntp/man ntpd to view Help.

6. Remove the software

Modify /etc/man.config

Cd/root

RM ntp-4.2.4p7.tar.gz

rm-rf/usr/local/src/ntp-4.2.4p7/

rm-rf/usr/local/ntp/


Linux Learning Note nine: General tarball Software Installation process (take ntp-4.2.4p7.tar.gz as an example)

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.