Linux memorandum (basic operations)

Source: Internet
Author: User

1. for software that is manually compiled and installed, you can use make uninstall to uninstall it. However, not all software provides such a process. The compilation and installation process is generally

1)./configure various compilation and installation parameters and check system parameters.

2) Make CompilationSource code, Generate many installation files

The following error may occur during make: cannot restore segment prot after reloc: Permission denied

One solution is to change the original SELinux = enforcing to SELinux = Disable under the/etc/sysconfig/SELinux file, and then restart.

For the other method, see here http://blog.csdn.net/touch25/archive/2009/03/02/3948266.aspx

3) make install the file generated in the previous step

Based on the preceding three steps, you can directly delete all files in the installation directory if you want to uninstall the installation. However, the reinstallation may cause problems, especially when the configuration parameters are different during the reinstallation, because the files generated according to the configuration parameters already exist, even if the re-installation of make is not necessarily overwritten, therefore, you should save the original compressed package (* .tar.gz), delete the original decompressed folder, decompress it again, and then reinstall it. However, if the framework and platform are installed, such software will provide header files and library files to system developers. In this way, these files will be installed to/usr/local/include, in the/usr/local/lib directory, such software cannot be directly deleted and uninstalled. Please try make Uninstall.

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.