有没有办法brew link
只有那些没有冲突的文件?
尽我所知,唯一的选择是强制覆盖所有冲突的角色,或根本不链接任何文件。例如,我需要保留现有的compare
,但需要ImageMagick的convert
。当我brew install imagemagick
时,我
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/compare
Target /usr/local/bin/compare
already exists. You may want to remove it:
rm '/usr/local/bin/compare'
To force the link and overwrite all conflicting files:
brew link --overwrite imagemagick
To list all files that would be deleted:
brew link --overwrite --dry-run imagemagick
Possible conflicting files are:
/usr/local/bin/compare -> /Applications/Araxis Merge.app/Contents/Utilities/compare
但提供继续操作的唯一方法是将所有的ImageMagick取消链接,或者覆盖现有的compare
。
除了现有brew link
之外,我如何compare
除了convert
之外的所有内容?有没有办法只安装stroke-offset
?