install vim for all users

1

1

I've cloned and then compiled vim using this guide: https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source

After running configure I ran

make VIMRUNTIMEDIR=/usr/local/share/vim/vim81

and then

sudo make install

After running that sequence of commands, vim was installed only for the root user. To have vim available for the current user I had to run

make install

Why "sudo make install" didn't install vim for the current user? How can I fix the fact that now I've probably two vims installed? Thanks

gianni

Posted 2018-10-14T12:43:36.857

Reputation: 11

Why not just apt-get install vim? – Nasir Riley – 2018-10-14T16:44:34.517

Answers

0

Not familiar with Vim building but normally the target installation directory (/usr, /opt...) is a compilation/build option (search for a --prefix in the configuration utilities...).

xenoid

Posted 2018-10-14T12:43:36.857

Reputation: 7 552