Solving "E25: GUI cannot be used: Not enabled at compile time" on CentOS

Solving "E25: GUI cannot be used: Not enabled at compile time"

When you run vim -g , you may encounter the above error "E25: GUI cannot be used: Not enabled at compile time".

Do note that at CentOS, the equivalent of vim -g is gvim. However, there is no package called gvim on CentOS 4 and CentOS 5. To have the gvim equivalent, do the following.

Step 1: yum install vim-enhanced (To install the fuller package of vim)
Step 2: yum install vim-X11 (To installed the equivalent of gvim)
Step 3: Just type gvim......and you have it