Thursday, February 19, 2015

installation - How to install VIM on Linux when I don't have root permissions?


I've got some troubles when I try to install Vim on Linux while I don't have a root account. The error information is shown below:


errorinfo


How can I solve this? Can I install it in another directory other than /usr/local/bin/vim?


Answer



make install DESTDIR=~/.local, then make a symlink in ~/bin to ~/.local/bin/vim.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...