brew linkapps for homebrew casks (automatically create symlink to /Applications folder)

我是研究僧i 提交于 2019-12-22 08:46:17

问题


I am using homebrew and homebrew cask to manage my installations on my Mac with OS 10.10.5.

After installing an app using "brew cask install", no symlink in the /Applications folder shows up.

For apps installed via "brew install", a symlink to /Applications can be created by running the command "brew linkapps" – is there something similar for homebrew casks?

In this particular case, some features of the LatexTools package for Sublime Text 2 did not work (open pdf viewer automatically and jump to line in pdf) as LatexTools expects the pdf reader used to be located in, e.g. /Applications/Skim.app. Manually creating a symlink from the cask install location to /Applications via "ln -s" solved the problem.


回答1:


There's no brew cask linkapps and casks are linked to ~/Applications rather than /Applications, as noted above. However, this will supposedly change to brew-cask moving app bundles to /Applications rather than linking. (see https://github.com/caskroom/homebrew-cask/issues/13201)



来源:https://stackoverflow.com/questions/33320582/brew-linkapps-for-homebrew-casks-automatically-create-symlink-to-applications

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