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

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.