How to install vi

dear linux gurus

I am not familiar with nano/pico which you are all mastering
how can I install vi ?

apt install vim/vi doesnt work

thanks in advanced

sudo apt install vim
1 Like

Thanks , like I said its not working

I am also not familiar with sudo , I tried with root account

I understand that vi/vim its not to the level of the experts but I only know how to work with vi

apt install vim
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package vim

No Network issues

apt search pico
Sorting… Done
Full Text Search… Done
nano/now 2.2.6-3 armhf [installed,local]
small, friendly text editor inspired by Pico

apt-get update
apt-get install vim

for basic things you need doctorat this days
sooo said what this have become

I didn’t try installing ‘vi’, because it was written in 1976. I did successfully install ‘vim’ (as detailed above) with ‘sudo apt install vim

I really not sure from your posts what your problems are here, other than you can’t install ‘vi’ and don’t want to learn (doesn’t take any learning, unlike ‘vi’) how to use ‘nano’ or ‘pico’

I had the same problem with a fresh Volumio installation.
What succeeded was doing an apt update first:
$ sudo apt update
$ sudo apt install vim

I suspect other package installs might also have failed before the apt update, so maybe it’s always good to do the apt update after a fresh install.