1. Check the c drive, cygwin has been installed, c:\cygwin64. as shown in Figure 1
Figure 1
2. Find cygwin64 Terminal in the navigation, right-click – uninstall. as shown in Figure 2
Figure 2
3. Search program and function: cygwin, the result is empty. as shown in Figure 3
Figure 3
4. Find the previous installation package, D:\soft\setup-x86_64.exe. as shown in Figure 4
Figure 4
5. Select item 1 and install from Intemet (the downloaded file will be reserved for future use). If you have downloaded it before and have reservations, it is recommended to select item 3 and install it from the local directory. as shown in Figure 5
Figure 5
6. Select the previously installed directory of cygwin, the default is: c:\cygwin64, no need to change. as shown in Figure 6
Figure 6
7. Select the local package directory. Modified to: D:\soft\cygwin. as shown in Figure 7
Figure 7
8. Progress. This page shows the progress of the download or installation. Error: Internal Error: Gcrypt Library Error 1 Unsupported PK alg. as shown in Figure 8
8
9. Decide to download the latest version of the installation package: http://www.cygwin.com/setup-x86_64.exe . Then repeat the above steps again. The latest version of the installation package, no errors are reported again. Successfully entered the Select Packages interface. as shown in Figure 9
Figure 9
10. In the View drop-down list, select: Category, and then in the new column of the all row, select uninstall. Click Next. As shown in Figure 10
Figure 10
11. Uninstall is complete. as shown in Figure 11
Figure 11
12, but found the installation directory: C:\cygwin64 still exists. as shown in Figure 12
Figure 12
13. Decided to uninstall again. Uncheck Hide Obsoleete Packages. That is to display outdated packages. Repeat step 10. as shown in Figure 13
Figure 13
14. In the Resolving Dependencies page, uncheck Accept Default Problem Solutions. That is, the default problem solution is not accepted. Uninstall all. Figure 14
Figure 14
15. If it continues, some packages may not work properly. Are you sure you want to continue (not recommended)? OK. as shown in Figure 15
Figure 15
16. But I found that the installation directory: C:\cygwin64 still exists. Although the directory has been reduced. as shown in Figure 16
Figure 16
17. Create a new file: uninstall.bat, the content is as follows.
SET DIRECTORY_NAME="C:\cygwin64"
C:\Windows\System32\takeown /f %DIRECTORY_NAME% /r /d y
C:\Windows\System32\icacls %DIRECTORY_NAME% /grant administrators:F /t
PAUSE
18. After the operation is successful, it is found that the installation directory: C:\cygwin64 still exists. Not as expected. as shown in Figure 17
Figure 17
19. Shift + Delete Forces to delete the installation directory: C:\cygwin64. Do this for all current projects. Yes. Completely deleted successfully. as shown in Figure 19
Figure 19
20. It still exists in the system menu: cygwin – cygwin64 terminal. As shown in Figure 20
Figure 20
21. Press Win + R to open the run, enter regedit, and press Enter to open the registry. HKEY_CURRENT_USER\Software\Cygwin. need to be deleted. as shown in Figure 21
Figure 21
22. It still exists in the system menu: cygwin – cygwin64 terminal. Right click – more – open file location. Figure 22
Figure 22
23. File: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cygwin\Cygwin64 Terminal. Delete the directory: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cygwin. Figure 23
Figure 23
24. It no longer exists in the system menu: cygwin – cygwin64 terminal. Figure 24
Figure 24
25. Find in the registry: cygwin, no result. So far, Cygwin has been completely uninstalled in Windows 10 64-bit. as shown in Figure 25
Figure 25
Leave a Reply