In the VI editor we use no color matching is not very good, we install a vim Rich Text editor convenient for our text editing.
[email protected] ~]# Yum install vim-y
Loaded plugins: Fastestmirror, priorities
Base | 3.6 KB 00:00:00
Extras | 3.4 KB 00:00:00
mysql-connectors-community | 2.5 KB 00:00:00
mysql-tools-community | 2.5 KB 00:00:00
mysql56-community | 2.5 KB 00:00:00
Updates | 3.4 KB 00:00:00
Loading mirror speeds from cached hostfile
Resolving dependencies
--Checking transactions
---> Package vim-enhanced.x86_64.2.7.4.160-1.el7 will be installed
--The dependency is being processed Vim-common = 2:7.4.160-1.EL7, which is required by the package 2:vim-enhanced-7.4.160-1.el7.x86_64
--Is processing dependency libgpm.so.2 () (64bit), which is required by the package 2:vim-enhanced-7.4.160-1.el7.x86_64
--Checking transactions
---> Package gpm-libs.x86_64.0.1.20.7-5.el7 will be installed
---> Package vim-common.x86_64.2.7.4.160-1.el7 will be installed
--The dependency vim-filesystem is being processed and it is required by the package 2:vim-common-7.4.160-1.el7.x86_64
--Checking transactions
---> Package vim-filesystem.x86_64.2.7.4.160-1.el7 will be installed
--Resolve dependency completion
Dependency resolution
=============================================================================================================== ====
Package schema version Source size
=============================================================================================================== ====
Installing:
vim-enhanced x86_64 2:7.4.160-1.EL7 Base 1.0 M
To install for dependency:
Gpm-libs x86_64 1.20.7-5.el7 Base K
Vim-common x86_64 2:7.4.160-1.EL7 Base 5.9 M
Vim-filesystem x86_64 2:7.4.160-1.EL7 Base 9.6 k
Transaction summary
=============================================================================================================== ====
Install 1 packages (+3 dependent packages)
Total Downloads: 7.0 m
Installation size: 2 m
Downloading packages:
(quarter): gpm-libs-1.20.7-5.el7.x86_64.rpm | KB 00:00:00
4): vim-enhanced-7.4.160-1.el7.x86_64.rpm | 1.0 MB 00:00:01
(3/4): vim-filesystem-7.4.160-1.el7.x86_64.rpm | 9.6 kB 00:00:00
(4/4): Vim-common-7.4.160-1.el7 . x86_64.rpm | 5.9 MB 00:00:06
--------------------------------------------------------------------------------------------- ----------------------
Total 1.1 mb/s | 7.0 MB 00:00:06
Running Transaction Check
Running transaction Test
Tran Saction Test succeeded
Running transaction
is installing: gpm-libs-1.20.7-5.el7.x86_64.
Installing: 2:vim-filesystem-7. 4.160-1.el7.x86_64 2/4
Installing: 2:vim-common-7.4.160-1.el7.x86_64 3/4
Installing: 2:vim-enhanced-7.4.160-1.el7.x86_64 4/4
Verify in: 2:vim-common-7.4.160-1.el7.x86_64 in: 2:vim-filesystem-7.4.160-1.el7.x86_64 2/4
Authentication: gpm-l ibs-1.20.7-5.el7.x86_64 3/4
in validation: 2:vim-enhanced-7.4.160-1.el7.x86_64 4/4
has been installed:
Vim-enhanced.x86_64 2:7.4.160-1.EL7
To be installed as a dependency:
gpm-libs.x86_64 0:1.20.7-5.el7 vim-common.x86_64 2:7.4.160-1.el7 vim-filesystem.x86_64 2:7.4.160-1.el7
Complete!
Here are the differences between VI and VIM
See here you want to say Yum is not very convenient, I feel more convenient than Windows.
Do some explaining.
Some of the dependencies that are being addressed during the installation process are being resolved.
Because there are a lot of variables in the Linux shell environment, and sometimes a variable is missing when using a software, but this variable can be obtained through other tools, then we say that the two software is purely in dependency, which is a big question in Yum installed software, Because of dependency, it happens when you need to unload. The general uninstall on the server is rarely used, so the impression is not too large. The most convenient thing is that he can help us to install it automatically.
If there is no corresponding software, we can only use wget rpm to install the software.
Yum Install Vim Editor