I teach classes that cover both Vim 7 and Vim 8. Is it possibly to install Vim 7 and Vim 8 together on CentOS? If so, how?

Everything I've have looked at so far covers updating Vim 7 to Vim 8. I need both environment for teaching purposes.

  • 1
    There are a few ways to do it. You could build Vim 7 from source and install it in parallel, or you could use a container image (for example, a CentOS 7 container) and run Vim 7 from there. But I see little point in doing anything with Vim 7 at this point, since the only distribution that still ships it (CentOS 7/RHEL 7) has already reached end of full maintenance... – filbranden May 4 at 4:35
  • 2
    I would use the system vim (e.g. CentOS 7 comes with Vim 7 according to repology.org/project/vim/versions) and compile my own Vim version 8 below $HOME – Christian Brabandt May 4 at 6:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.