日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > windows >内容正文

windows

windows10 下 用图片手把手教你 卸载 cygwin

發(fā)布時間:2025/1/21 windows 46 豆豆
生活随笔 收集整理的這篇文章主要介紹了 windows10 下 用图片手把手教你 卸载 cygwin 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

windows10 下 卸載 cygwin



進(jìn)入 官方, 下載符合自己操作系統(tǒng)的 Cygwin 安裝程序(這個程序包含了 Cygwin 的安裝、更新、卸載功能)


打開 Cygwin 安裝程序,點擊 下一步



選擇 第三個安裝類型 Install from Local Directory


此時程序會自動檢測到你 Cygwin 的本地安裝目錄,如果沒有,則手動將 Root Directory 改為 Cygwin 的本地安裝目錄



點擊



點擊下一步



重點來啦!

View 選擇 Category

Package 選擇 All

New 選擇 Uninstall

點擊 下一步



點擊 下一步,等待卸載完成



卸載完成




然后可以再把 Cygwin 安裝目錄下的文件手動刪完




附:官方文檔

2.20.How do I uninstall all of Cygwin?

Setup has no automatic uninstall facility. The recommended method to remove all of Cygwin is as follows:

If you have any Cygwin services running, remove by repeating the instructions in https://cygwin.com/faq/faq.html#faq.setup.uninstall-service for all services that you installed. Common services that might have been installed are sshd, cron, cygserver, inetd, apache, postgresql, and so on.

Stop the X11 server if it is running, and terminate any Cygwin programs that might be running in the background. Exit the command prompt and ensure that no Cygwin processes remain. Note: If you want to save your mount points for a later reinstall, first save the output of mount -m as described at https://cygwin.com/cygwin-ug-net/mount.html.

If you installed cyglsa.dll by running the shell script /usr/bin/cyglsa-config as described in https://cygwin.com/cygwin-ug-net/ntsec.html, then you need to configure Windows to stop using the LSA authentication package. You do so by editing the registry and restoring /HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa/Authentication Packages back to it’s original value of msv1_0, and then rebooting.

Delete the Cygwin root folder and all subfolders. If you get an error that an object is in use, then ensure that you’ve stopped all services and closed all Cygwin programs. If you get a ‘Permission Denied’ error then you will need to modify the permissions and/or ownership of the files or folders that are causing the error. For example, sometimes files used by system services end up owned by the SYSTEM account and not writable by regular users.

The quickest way to delete the entire tree if you run into this problem is to take ownership of all files and folders to your account. To do this in Windows Explorer, right click on the root Cygwin folder, choose Properties, then the Security tab. If you are using Simple File Sharing, you will need to boot into Safe Mode to access the Security tab. Select Advanced, then go to the Owner tab and make sure your account is listed as the owner. Select the ‘Replace owner on subcontainers and objects’ checkbox and press Ok. After Explorer applies the changes you should be able to delete the entire tree in one operation. Note that you can also achieve by using other tools such as icacls.exe or directly from Cygwin by using chown. Please note that you shouldn’t use the recursive form of chown on directories that have other file systems mounted under them (specifically you must avoid /proc) since you’d change ownership of the files under those mount points as well.

Delete the Cygwin shortcuts on the Desktop and Start Menu, and anything left by setup-x86{_64}.exe in the download directory. However, if you plan to reinstall Cygwin it’s a good idea to keep your setup-x86{_64}.exe download directory since you can reinstall the packages left in its cache without redownloading them.

If you added Cygwin to your system path, you should remove it unless you plan to reinstall Cygwin to the same location. Similarly, if you set your CYGWIN environment variable system-wide and don’t plan to reinstall, you should remove it.

Finally, if you want to be thorough you can delete the registry tree Software\Cygwin under HKEY_LOCAL_MACHINE and/or HKEY_CURRENT_USER. However, if you followed the directions above you will have already removed everything important. Typically only the installation directory has been stored in the registry at all.



我的小站、Github、CSDN



總結(jié)

以上是生活随笔為你收集整理的windows10 下 用图片手把手教你 卸载 cygwin的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。