Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two Ubuntu servers on which I'm trying to upgrade VIM to 7.2, but apt-get install vim only lists version 7.1 which is already installed. Same with a search in aptitude.

I've made sure my sources are updated, but it looks like they're pulling from either 'intrepid' or 'hardy', which I assume is part of the problem.

How should I go about installing 7.2?

share|improve this question

If they are not in your repos and you're using the most up-to-date repos, you can always build it from source. The problem with this is that you will not receive updates to that version from your package manager if it is build from source.

share|improve this answer
Well, I'm assuming that 7.2 does exist somewhere in the Ubuntu repositories, right? I think I'm just pulling from an old one. – rspeicher May 12 '10 at 3:28
Perhaps so, but it may be built against libraries more recent than you've got installed. To be safe, you should either (1) build from source against what you've already got installed (you could use to integrate that better with apt); or (2) install the new vim binary you find, plus the new binaries of all its dependencies, plus the new binaries of all their dependencies AND everything that depends on them, plus... – dubiousjim May 16 '10 at 22:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.