"brew cask install"使用的真实位置是哪个目录? [英] Which directory is the real location that `brew cask install` uses?
问题描述
brew cask install
使用哪个目录?
我想找到应用的真实位置,而不是/Application
I want to find the real location of app, not the symlink in /Application
推荐答案
You can find custom commands for each application amongst available Casks, but generally, brew cask install
just retrieves the configured version of the executable file and moves it to the specified application directory (~/Applications by default).
/usr/local/Caskroom
包含已安装桶的列表,每个桶中的.metadata
文件夹均提到安装期间使用的桶文件.
/usr/local/Caskroom
contains the list of casks installed, and .metadata
folder in each cask mentions the cask file used during installation.
您在~/Applications
中看到的应用目录是不是符号链接.如果是这样,请检查该应用程序的容器文件,并且其中应包含真实位置的线索.
The app directory you see in ~/Applications
is not a symlink. If it is so, check that app's cask file and it should contain clues to the real location.
这篇关于"brew cask install"使用的真实位置是哪个目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!