Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1757  / 3 Years ago, wed, june 30, 2021, 8:43:23

I am trying to install the latest version of vim on Ubuntu 12.10. But when I use this command



sudo apt-get install vim


It gives me such an error
enter image description here



How to solve this?


More From » 12.10

 Answers
7

I am assuming vim works, and you would like a newer version. Therefore, my answer deliberately bypasses the method you are trying to use -- sudo apt-get -- which is fine for most things.



However, the fact you have a message "already at the latest level" is telling me you want a newer version.



I suggest you create a scratch directory under ~ after you log in.



1) mkdir vim_install



2) Then download the latest *nix version of vim -- The runtime and source files together: vim-##.tar.bz2 vim-7.3.tar.bz2 -- and unpack it in vim_install. A directory vim73 should be created.



3) Follow the instructions in vim73/README.txt. Almost immediately, you'll be told to read another README that corresponds to your architecture/OS.



4) At some point you'll build and/or distribute as root.



I've done this on several Linux systems we have in production, and downloading vim has never caused a problem for anything else I have installed, because it is built from its sources to run compatibly with your Linux system.


[#31186] Friday, July 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fittecanap

Total Points: 322
Total Questions: 100
Total Answers: 105

Location: Israel
Member since Tue, Nov 17, 2020
4 Years ago
;