The error can be resolved by fixing the permission by running: sudo chown -R `whoami`:admin /usr/local/share/man/de/man1įollowed by finally attempting the link again by running: Which gave the following error: $brew link vim The Homebrew installed vim was not linked. Once the installation is successful, you can confirm the same by running type -a vim, which should output: vim is /usr/local/bin/vim Now install vim by running brew install vim. If you wish to use the latest version of vim, you'll need to uninstall ex-vi and mac-vim by running: Install, but the build may fail or cause obscure side effects in the Link the formula again after the install finishes. Unlinking removes a formula's symlinks from /usr/local. Please `brew unlink ex-vi` before continuing. Trying to install vim by running brew install vim while ex-vi and mac-vim are installed results in the following error: $ brew install vimĮrror: Cannot install vim because conflicting formulae are installed.Įx-vi: because vim and ex-vi both install bin/ex and bin/view It appears that you have both ex-vi and mac-vim installed which are conflicting formula for vim. Vim -version: VIM - Vi IMproved 8.0 (2016 Sep 12, compiled 19:03:04)Ĭompiled by output of both brew info vim and type -a vim clearly states that Homebrew provided version of vim is not installed on your system. However, after those steps, I still get which tells me that VIM didn't get updated: □ /usr/local/Cellar/vim/: 1,855 files, 31.6MBīrew link vim: Linking /usr/local/Cellar/vim/.Įrror: Could not symlink share/man/de/man1/ex.1 usr/local/share/man/de/man1 is not writable. Īlready downloaded: /Users/mymac/Library/Caches/Homebrew/downloads/.gz (18 files, 348.2KB)īrew uninstall macvim: Uninstalling /usr/local/Cellar/macvim/8.1-156. To force the link and overwrite all conflicting files: The formula built, but is not symlinked into /usr/local => Pouring .tar.gzĮrror: The `brew link` step did not complete successfully □ /usr/local/Cellar/ex-vi/050325: 18 files, 348.2KBīrew install macvim: => Installing dependencies for macvim: cscope Updated 2 taps (homebrew/core and homebrew/cask). Here the output of running various commands for debugging:Įcho $PATH: /Library/Frameworks/amework/Versions/3.7/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/binīrew uninstall ex-vi macvim: Error: No such keg: /usr/local/Cellar/ex-viīrew uninstall vim: Uninstalling /usr/local/Cellar/vim/. Included patches: 1-503, 505-680, 682-1283Ĭompiled by seems that there are 2 versions installed on my machine and the the one installed with Homebrew is not the default one. However when typing vim -version, I get: VIM - Vi IMproved 8.0 (2016 Sep 12, compiled 19:03:04) Required: gettext ✔, lua ✔, perl ✔, python ✔, ruby ✔ Macvim (because vim and macvim both install vi* binaries) Vi 'workalike' with many additional featuresĮx-vi (because vim and ex-vi both install bin/ex and bin/view) Here's the output of running brew info vim: vim: stable (bottled), HEAD I have successfully installed vim via Homebrew. I have troubling merging several version of vim on my machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |