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

  1. Goto
  2. Go to Download. link:
  3. Click on Mirrors.
  4. Choose an FTP mirror site, e.g. (Holland, Amsterdam).
  5. Go inside the folder “unix”.
  6. 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