In June 28th, 2022 the major version of Vim 9.0 was officially released. You can download Vim 9.0 for appropriate platform at https://www.vim.org/download.php.
Download latest source code from GitHub by git clone https://github.com/vim/vim.git.
The installation procedure from source code: (You should have Python3 already installed in your Linux system.)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
jim@localhost% unzip vim9.zip jim@localhost% cd vim jim@localhost% ./configure \ --enable-cscope \ --enable-gnome-check \ --enable-gtk2-check \ --enable-gui=auto \ --enable-multibyte \ --enable-perlinterp \ --enable-pythoninterp \ --enable-python3interp \ --with-python3-config-dir=/usr/local/lib/python3.10/config-3.10-x86_64-linux-gnu \ --with-features=huge \ --enable-fail-if-missing jim@localhost% make jim@localhost% sudo make install
If error of “python3 cannot be be found” occurs in the step of configure, make a symbolic link of python3 before doing configure .
1 2
jim@localhost% cd /usr/local/bin jim@localhost% ln -s python3.10 python3
The newly installed Vim 9.0 is located at /usr/local/bin/vim.
Check the Vim version information with command vim --version. It shows that +python and +python3 are configured correctly.