Statement 1: I Caishuxueqian, with Guo Degang words, "I was a schoolboy," if wrong, welcomed the discussion, do not abuse ^ _ ^.
Statement 2: Keep the original blog when reproduced the original link or add my blog address at the beginning of the article, or the right to retain legal liability.
software download
Vim Download: Portal
Dependencies Download: download a good package is located /var/cache/apt/archives/
, you can tar -czvf package.tar.gz *.deb
command to copy all deb packetizer out.
gcc
sudo apt -d install gcc
make
sudo apt -d install make
ncurses
sudo apt -d install libncurses5-dev
installation
-
The dependencies copied to the installation of the machine, then
dpkg -i *.deb
mounted deb package -
The vim source package copied to the installation machine
./configure --prefix=/opt/vim-8.1.1137 make make install
Note: When compiling what is missing dependencies, go to download what dependencies, know every step of the echo $?
results are 0
, it means success.
Shortcut settings
Create a soft link
ln -s /opt/vim-8.1.1137/bin/vim /usr/local/bin/vim
verification
Enter the following command to verify success
vim test.txt