Uninstall Active TCL Mac

半腔热情 提交于 2019-12-05 04:29:23

问题


I am trying to uninstall Active TCL on my Mac and the provided code from the website does not work. I am receiving errors saying not a directory. When I look into the file path that the code gives me I can manually find but it does not work. Is there any other way to get rid of this?

Below is the provided code:

$ cd /Library/Frameworks/Tcl.framework/Versions/<version>/Resources/Scripts/uninstall
$ sudo ./uninstall

回答1:


$ cd /Library/Frameworks/Tcl.framework/Versions/8.6/Resources/Scripts/
$ sudo ./uninstall
sudo: ./uninstall: command not found
$ ls -al uninstall 
-rw-r--r--  1 root  admin  6868 Oct 26  2013 uninstall

uninstall ain't executable.

$ sudo chmod a+x uninstall
$ sudo ./uninstall

Then a Tcl icon appeared in my Dock, and when I clicked on that, a dialog box popped up asking:

Confirm you want to delete all Tcl 8.6 files?




回答2:


In case of failed sudo ./uninstall command, fix the permission with sudo chmod 755 ./uninstall. Then uninstall command will execute.

Source: https://community.activestate.com/node/9010




回答3:


This worked for me. You may try it.

cd /Library/Frameworks/Tcl.framework/Versions/8.5/Resources/Scripts \
sudo ./uninstall


来源:https://stackoverflow.com/questions/21843328/uninstall-active-tcl-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!