How to uninstall software installed as source code

Source: Internet
Author: User
From Network:
Http://linuxeden.com/forum/thread-106618-1-1.html


How to uninstallSource codeSoftware Installed



The common method is Code Directory

Make uninstall


If the source code is not providedUninstall
Method, there is no good way to uninstall

This requires us to develop good habits when installing such source code software.:


 

    • install the software under the Independent directory tree. During configuration installation:
      . /configure -- prefix =/usr/local/

      Delete /usr/ lcoal/package-name

    • record all installed software during installation, and delete all files during uninstallation. The following describes an example:

Code :

. /configure
make
touch/tmp/timestamp
make install
Find/{bin, Lib, sbin, USR}-cnewer/tmp/timestamp-type F-print/
-exec sh-c "md5sum {}>>/var/lib/packages/your-package-name "
the preceding Find
command can be used to create a system function to call at any time, to simplify the procedure

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.