vimインストール!?

vimが入ってないようなのでvimをインストール。

yumで調べてみたら入ってる??
$ yum list | grep vim
vim-minimal.x86_64                         2:7.0.109-6.el5             installed
vim-X11.x86_64                             2:7.0.109-7.el5             base
vim-common.x86_64                          2:7.0.109-7.el5             base
vim-enhanced.x86_64                        2:7.0.109-7.el5             base
vim-minimal.x86_64                         2:7.0.109-7.el5             base
あれ? rpmでも見てみる。
$ rpm -qa | grep vim
vim-minimal-7.0.109-6.el5
あれ? いるw 追跡調査!
$ yum info vim-minimal-7.0.109-6.el5
Loaded plugins: fastestmirror
Installed Packages
Name       : vim-minimal
Arch       : x86_64
Epoch      : 2
Version    : 7.0.109
Release    : 6.el5
Size       : 616 k
Repo       : installed
Summary    : A minimal version of the VIM editor.
License    : freeware
Description: VIM (VIsual editor iMproved) is an updated and improved version of the
: vi editor.  Vi was the first real screen-based editor for UNIX, and is
: still very popular.  VIM improves on vi by adding new features:
: multiple windows, multi-level undo, block highlighting and more. The
: vim-minimal package includes a minimal version of VIM, which is
: installed into /bin/vi for use when only the root partition is
: present. NOTE: The online help is only available when the vim-common
: package is installed.

なんと! /bin/vi に入っているとコソッと書いてありましたw

$ which vi
/bin/vi
コレだっ!
$ vi --version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Sep 19 2009 17:22:51)
 :

入ってたぁ!w

カテゴリーyum

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です