% CentOS Package Installation List % Ian! D. Allen - - [www.idallen.com] % Fall 2013 - September to December 2013 - Updated Wed Oct 30 01:47:54 EDT 2013 * * * * * **These instructions are NOT READY YET** **These instructions are NOT READY YET** **These instructions are NOT READY YET** Come back later. * * * * * Overview ======== 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. Install Full Version of VIM =========================== 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! a. In which system directory is the minimal (`Small`) `vi` program found? b. In which system directory is full (`Huge`) enhanced `vim` program found? c. What command makes it easy to answer the above two questions? 4. Accounts may be given an alias: `alias vi=vim` a. This alias may be created by a script under `/etc/profile.d/` b. 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. * * * * * -- | 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 [www.idallen.com]: http://www.idallen.com/ [VMware Tools]: 000_centos_vmware_tools.html [**Appendix I**]: #appendix-i-what-to-do-if-yum-doesnt-work [Plain Text]: 000_centos_packages.txt [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/