How to uninstall cygwin in Windows

Source: Internet
Author: User

The procedure is as follows: 1. delete the Temporary Folder for installation (enter the command in cygwin) $ rm-f/cygdrive/c/Your Temporary Folder 2. stop cron service $ cygrunsrv -- stop cron $ cygrunsrv -- remove cron 3. stop and delete the inetd service $ net stop inetd $/usr/sbin/inetd -- remove-as-service 4. delete the installation folder. The default value is c:/cygwin 5. delete the icon on the desktop and the Startup Folder 6 in the Start Menu. delete HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus Solutions HKEY_CURRENT_USER/Software/Cygnus Solutions 7. delete the c:/CYGWIN/bin in the environment variable PATH (PATH, cygwin), and the method above the variable CYGWIN is used by others, I estimate that this method is only applicable to the first uninstallation, that is, it is useful when you delete the program cygwin in the list. If you choose to delete it directly, it will be done, c ygwin won't be available in the delete list after the installation. I thought of a method later, instead of setting install as uninstall in the same way as when installing the program. that is to say, delete the parts that cannot be deleted in windows first, and then perform the following operations: 4. delete the installation folder. The default value is c:/cygwin 5. delete the icon on the desktop and the Startup Folder 6 in the Start Menu. delete HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus Solutions HKEY_CURRENT_USER/Software/Cygnus Solutions 7. delete the c:/CYGWIN/bin in the path environment variable (PATH, cygwin) and the variable CYGWIN. You can delete the variable so that it cannot be deleted in full format.

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.