You do not have the root permission to install vim. download the source code www.vim.org/download // to download my vim-7.2.tar 2. decompress tar xvf vim-7.2.tar3.configurecd vim-7.2/make ditclean // This is very important, you can clear all the files generated in the last compilation, do not know at the beginning, it is silly to delete all vim statements in the/bin directory. /configure // you can use. /configure-h or -- help :. /configure -- prefix = $ HOME -- enable-pythoninterp = yes -- with-features = huge -- enable-perlinterp -- enable-rubyinterp makemake install -- prefix = $ HO ME indicates the installation directory. Because I do not have the root permission, I can only install it under my user directory, the result is that the installer does not have the permission to copy the file to the root file -- enable-pythoninterp indicates that it provides python excuses. Later, the vim plug-in named conquer cannot be installed, check that the python interface is not provided. 4. modify. when running the bashrc file, vim is actually a program provided by root. You can modify it. bashrc file to change alias vim = '/home/$ user/bin/vim' # In. add this line to the bashrc file.