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.


1 OverviewIndexup to index

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.

2 Install Full Version of VIMIndexup to index

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:

  1. Run: yum install vim-enhanced
    • You may need to accept a GPG security key: say yes
    • This may not work – the yum may hang trying to find mirrors. If that happens, refer to Appendix I below to get it working.
  2. 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 (-):
  3. The programs vi and vim are different in CentOS!
    1. In which system directory is the minimal (Small) vi program found?
    2. In which system directory is full (Huge) enhanced vim program found?
    3. What command makes it easy to answer the above two questions?
  4. Accounts may be given an alias: alias vi=vim
    1. This alias may be created by a script under /etc/profile.d/
    2. Use a simple command and shell GLOB to find out which file creates this alias. It’s confusing, isn’t it?

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.


Author: 
| Ian! D. Allen  -  idallen@idallen.ca  -  Ottawa, Ontario, Canada
| Home Page: http://idallen.com/   Contact Improv: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom:  http://eff.org/  and have fun:  http://fools.ca/

Plain Text - plain text version of this page in Pandoc Markdown format

Campaign for non-browser-specific HTML   Valid XHTML 1.0 Transitional   Valid CSS!   Creative Commons by nc sa 3.0   Hacker Ideals Emblem   Author Ian! D. Allen