电脑上安装过旧版的AutoCAD,卸载安装最新版的AutoCAD出现 “安装错误: AutoCAD for Mac 2022安装无法完成。错误112″如何解决呢?
解决方法:
在电脑桌面上,按住command+空格键,输入终端
,回车,即可打开终端
在终端中逐个执行以下命令,每个命令后跟ENTER键,提示Password:时要输入你的Mac开机密码再按ENTER键确认,注意:密码输入过程时看不见的。
sudo rm -rf /Library/Application\ Support/Autodesk/AdODIS
sudo rm -rf /Library/Application\ Support/Autodesk/DDA
sudo rm -rf /Library/Application\ Support/Autodesk/ODIS
sudo rm -rf /Library/Application\ Support/Autodesk/AdskLicensing
sudo rm -rf /Library/Application\ Support/Autodesk/AdskLicensingService
sudo rm -rf /Library/Application\ Support/FLEXnet\ Publisher
sudo rm -rf /Library/Frameworks/Adlm.framework
sudo rm -rf HOME/Adlmsudorm−rfHOME/Adlm
sudo rm -rfHOME/Adlmsudorm−rfHOME/Library/Application\ Support/Autodesk
sudo rm -rf HOME/Library/Logs/Autodesksudorm−rfHOME/Library/Logs/Autodesk
sudo rm -rf HOME/Library/Logs/Autodesksudorm−rfHOME/Library/Logs/Autodesk\安装程序
sudo rm -rf $HOME/Library/Application\ Support/AutodeskInstaller
sudo launchctl unload /Library/LaunchDaemons/com.autodesk.AdskLicensingService.plist
sudo pkgutil --forget com.autodesk.AdskLicensing
sudo rm /Library/LaunchDaemons/com.autodesk.AdskLicensingService.plist
sudo killall AdskLicensingService
操作完之后重启一下Mac系统基本就可以了。
如果上述操作未能解决,请再次尝试终端输入下面的命令运行,之后再重启macOS系统就可以完美解决了。
sudo rm -rf /Library/Application\ Support/Autodesk*
sudo rm -rf /Library/Logs/Autodesk*
sudo rm -rf /Library/LaunchDaemons/com.autodesk.*
sudo rm -rf /Library/Application\ Support/Autodesk*
sudo rm -rf /Applications/Autodesk
sudo pkgutil —pkgs | grep -i autodesk | xargs -n1 pkgutil —fogter