问题
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