I believe /usr/local is a common location for people who have root access.
This is true for most Unix variants, including Linux and macOS.

For people who can write only to their home directory, just using $HOME is
OK. I do this all the time on company servers. This has the advantage that
backing up or restoring the whole home directory will back up and restore
your Vim installation too.

On Mon, 2 Nov 2020 at 16:31, Mathoscope Éveilleur de Mathématiques <
el.dou...@gmail.com> wrote:

> so where should i install vim ?
>
> Le samedi 31 octobre 2020 à 16:18:23 UTC+1, Yongwei Wu a écrit :
>
>> Other people mentioned the --prefix option and MacVim. I want to
>> emphasize that you simply cannot install to /usr/share. All directories
>> under /usr, except /usr/local, are protected by macOS. You cannot write to
>> those directories, even as root.
>>
>> On Fri, 30 Oct 2020 at 23:55, Mathoscope Éveilleur de Mathématiques <
>> el.d...@gmail.com> wrote:
>>
>>> thanks ; ok
>>> it sounds simple ;
>>> and yes i know [whereitis].
>>> juste a qustion : where do i have to cd before remaking the "make"
>>> in /usr/share or in /usr/share/vim ?
>>>
>>> Le vendredi 30 octobre 2020 à 10:31:34 UTC+1, rwmit...@gmail.com a
>>> écrit :
>>>
>>>>
>>>>
>>>> On Friday, October 30, 2020 at 5:06:01 AM UTC-4, Mathoscope Éveilleur
>>>> de Mathématiques wrote:
>>>>>
>>>>> hi
>>>>> on my mac os X.10.14.6, vim was initially installed (when ? i dont
>>>>> remember) at /usr/share/vim/vim80
>>>>> yesterday i wanted to upgrade from 8.0 to 8.2
>>>>> i did this :
>>>>>
>>>>> $ git clone https://github.com/vim/vim.git
>>>>> $ cd vim/src
>>>>> $ make
>>>>> $ sudo make install
>>>>>
>>>>> but i had not noticed that i had cd in the wrong folder, somewhere on
>>>>> my hard drive
>>>>> so now i have a [whereitis]/vim folder containing ci, nsis, piwmaps,
>>>>> runtime and several other folders and files
>>>>> i have made vvim=[whereitis]/vim so to be able to use vim 8.2 by
>>>>> simply typing $vvim but it is not satisfying of course
>>>>> i would like to finish properly the installation but as i am a
>>>>> beginner, i dont want to make errors
>>>>>
>>>>> what is the better way to move vim to the right place ?
>>>>>
>>>>> do i just have to do :
>>>>> mv -f [whereitis]/vim /usr/share
>>>>> ?
>>>>>
>>>>> thanks for your help
>>>>>
>>>>> Vincent
>>>>>
>>>>
>>>> It sounds like you know [whereitis], why not just delete it and rerun
>>>> make/make install in the proper directory?
>>>>
>>> --
Yongwei Wu
URL: http://wyw.dcweb.cn/

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_mac/CADs46icOv%2BroAiu9Bo%3D%3D4ka0jzYD5u1bOnLdX7yp3KrhScASHQ%40mail.gmail.com.

Reply via email to