Recently my apt-get install didn’t work in Ubuntu 10.04 and I couldn’t spend time to fix the source list when it didn’t work straight forward.
So looked around how to install vim from a tarball. This may be handy sometimes, here are the steps:
Download the Tarball
- Goto https://www.vim.org/.
- Go to Download. link: https://www.vim.org/download.php.
- Click on Mirrors.
- Choose an FTP mirror site, e.g. ftp://ftp.home.vim.org/pub/vim/ (Holland, Amsterdam).
- Go inside the folder “unix”.
- Here you will see all the vim tarballs. Choose the one you like, e.g. vim-8.0.tar.bz2.
Untar the tarball
Untar the tarball:
$ tar -xvjf vim-8.0.tar.bz2
Compile and install
$ cd vim80/src $ make distclean $ make $ sudo make install
Leave a Reply