How do you install editor in Linux using apt-get command?
Here is a tutorial to learn how to install editor using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install editor -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of editor if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install editor -y
Reading package lists...
Building dependency tree...
Reading state information...
Package editor is a virtual package provided by:
vim nox 2:7.2.330 1ubuntu3.1
vim gtk 2:7.2.330 1ubuntu3.1
emacs23 lucid 23.1+1 4ubuntu7.3
vim tiny 2:7.2.330 1ubuntu3.1
vim gnome 2:7.2.330 1ubuntu3.1
vim 2:7.2.330 1ubuntu3.1
emacs23 nox 23.1+1 4ubuntu7.3
emacs23 23.1+1 4ubuntu7.3
emacs 23.1+1 4ubuntu7.3
xvile 9.7za 1
xjed 1:0.99.19 1
vile 9.7za 1
vigor 0.016 13
ne 2.0.3 2
nano tiny 2.2.2 1
mped 5.1.3 1
mg 20090107 3
levee 3.5a 1ubuntu1
le 1.14.3 1
jove 4.16.0.70 3.1
jed 1:0.99.19 1
emacs22 nox 22.2 0ubuntu9
emacs22 gtk 22.2 0ubuntu9
emacs22 22.2 0ubuntu9
emacs snapshot nox 1:20090909 1
emacs snapshot 1:20090909 1
elvis console 2.2.0 11.1
elvis 2.2.0 11.1
edbrowse 3.4.1 1ubuntu1
cream 0.42 1
nano 2.2.2 1
You should explicitly select one to install.
root@hiox:~