MacOS 清除软件缓存和配置文件
MacOS 清除软件缓存和配置文件
最近在mac上安装并激活软件的时候遇到问题,不论如何重新安装软件,软件都不会更新软件信息,推断需要删除软件的配置文件
macos软件安装后,文件所在的路径
在macos上,软件安装会将缓存等文件存放到如下可能的路径:
Binary and dock icons are located in /Applications/
Application support files are located in ~/Library/Application Support
Support Caches can be found in /Library/Caches/ and ~/Library/Caches
Plugins are located in ~/Library/Internet Plug-Ins/
Library can be found in ~/Library/ App preferences are located in ~/Library/Preferences/
Crashes are found in ~/Library/Application Support/CrashReporter/
App saved states are located in ~/Library/Saved Application State/
删除这些路径下的相关文件后,重新安装软件,软件并未更新信息
软件可能新建配置路径存放文件
软件自己可能在home路径新建一些文件夹存放其他路径自己的相关配置
在home目录也就是~目录,输入命令ls -a
显示路径下所有文件,包括隐藏的文件
找到相关文件夹,删除,重新安装,软件信息得到更新
题外话:
- 快速访问路径:command + shift + g
- 快捷查找软件安装后文件所在:使用appzapper
- macos上类似everything的搜索工具: Find Any File
参考:
How to uninstall programs on a Mac | https://macpaw.com/how-to/uninstall-apps-on-mac-os-x
Mac OS快速访问系统根目录的几种方法 | https://blog.csdn.net/fanshouyizhi/article/details/70141952
mac系统下怎么寻找软件配置文件 | https://zhidao.baidu.com/question/140267578
求Mac上类似Win系统Everything的搜索软件快| https://www.v2ex.com/t/562795