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.

I just did this in 2026. This is a debian thing and now a Volumio thing. In any case, doing an ā€œapt updateā€ worked for me. Also, you may need to do it a couple times, because it may not work the first or second time. You need to do it until you get no transmission errors downloading the Package files.

It never hurts to do ā€œapt updateā€ and almost never hurts to do ā€œapt upgradeā€ or ā€œapt dist-upgradeā€.

please don’t give suggestion that might cause problems to other users.

on Volumio, it is NOT recommended to run apt upgradeā€ or ā€œapt dist-upgradeā€

I just saw this. Sorry. I have an RPI4 in my back bedroom. I can’t run ethernet to it, and the steel case I use seems to block the wifi. I bought an external USB wifi adapter, but the driver is not installed on the default volumio installation. I can’t install the driver without installing a bunch of other applications, like gcc and build-essential, which can’t be installed without apt.

So are you saying volumio turns my RPI4 into a turnkey application, which makes it impossible to do ordinary Linux things? The Volumio documentation should state that
somehow.

In any case, I think I’m probably going to look elsewhere.

you can install additional packages via apt (a lot of the plugins do that), what is NOT recommended at all is to run ā€œapt upgradeā€ and ā€œapt dist-upgradeā€

Thanks for your reply. Is apt update ok?

apt update is safe, and required to be executed before installing additional packages via apt