How to Install Vim 8.2 in Ubuntu 18.04, 16.04, 19.10

December 16, 2019 — 4 Comments

Vim text editor 8.2 was released a few days ago. An unofficial PPA has made the packages for all current Ubuntu releases as well as Ubuntu 14.04.

The main new feature of Vim 8.2 is support for “popup windows”, which displays message boxes, function prototypes, code snippets, etc on top of the text. See Vim 8.2 release note for more.

Jonathon F maintains a PPA with Vim packages for all current Ubuntu releases.

The PPA maintainer announced that he will remove most of his PPAs from public access due to continued and persistent abuse by companies using these packages for commercial gain. Go check the PPA webpage before getting started.

1. Open terminal either from application menu or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:jonathonf/vim

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2. Then refresh package cache and install Vim via commands:

sudo apt update

sudo apt install vim

For more features (e.g., Python support), you may also install vim-gtk3 and / or vim-nox:

sudo apt install vim-gtk3 vim-nox

Uninstall:

To restore Vim to the stock versions in Ubuntu main repositories, run command to purge the PPA:

sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/vim

To only remove the PPA while keeping the installed Vim packages, either go to Software & Updates -> Other Software, or run command in terminal:

sudo add-apt-repository --remove ppa:jonathonf/vim

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

4 responses to How to Install Vim 8.2 in Ubuntu 18.04, 16.04, 19.10

  1. Do I need to uninstall vim 8.0 shipped with Ubuntu 18.04?

  2. Thank you for your post, Ji m!

  3. please write me ,, how can i install rtl7823e rivers in ubuntu 19.10 ,,,,,when i open wifi ,, i can there no wifi adapter.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*