Updated: 2013-10-30 01:47 EDT
These instructions are NOT READY YET
These instructions are NOT READY YET
These instructions are NOT READY YET
Come back later.
This documents the changes made to the Minimal CentOS installation.
You should have VMware Tools installed first.
CentOS 6 is almost identical to Red Had Enterprise Linux 6 (RHEL6) except for colours and trademarks. This means you may use the RHEL6 documentation to help you with CentOS 6 features.
Your CentOS Minimal Installation ISO comes with a minimal (they call it Small
) version of the vim
text editor named vi
that is missing many features and help files. (There is no vim
command installed yet, but you may have an alias with that name.) Run these commands to discover this (note the use of quotes to hide special characters from the shell):
# yum -q list 'vim*'
Installed Packages
vim-minimal.i686 2:7.2.411-1.8.el6 @anaconda-CentOS-201303020136.i386/6.4
Available Packages
vim-X11.i686 2:7.2.411-1.8.el6 base
vim-common.i686 2:7.2.411-1.8.el6 base
vim-enhanced.i686 2:7.2.411-1.8.el6 base
# rpm -q -a | grep 'vim'
vim-minimal-7.2.411-1.8.el6.i686
# vim
bash: vim: command not found
# vi --version | grep 'version'
Small version without GUI. Features included (+) or not (-):
As root
use yum
to download and install the full (they call it Huge
) version of vim
as follows:
yum install vim-enhanced
yum
may hang trying to find mirrors. If that happens, refer to Appendix I below to get it working.After the successful installation, run these commands to verify the new installation of the enhanced vim
:
# yum -q list 'vim*'
Installed Packages
vim-common.i686 2:7.2.411-1.8.el6 @base
vim-enhanced.i686 2:7.2.411-1.8.el6 @base
vim-minimal.i686 2:7.2.411-1.8.el6 @anaconda-CentOS-201303020136.i386/6.4
Available Packages
vim-X11.i686 2:7.2.411-1.8.el6 base
# rpm -q -a | grep 'vim'
vim-minimal-7.2.411-1.8.el6.i686
vim-common-7.2.411-1.8.el6.i686
vim-enhanced-7.2.411-1.8.el6.i686
# vim --version | grep 'version'
Huge version without GUI. Features included (+) or not (-):
# vi --version | grep 'version'
Small version without GUI. Features included (+) or not (-):
vi
and vim
are different in CentOS!
Small
) vi
program found?Huge
) enhanced vim
program found?alias vi=vim
/etc/profile.d/
TO BE CONTINUED
These instructions are NOT READY YET
TO BE CONTINUED
These instructions are NOT READY YET
TO BE CONTINUED
These instructions are NOT READY YET
Come back later.