CentOS5.4 install the highlighted vim editing tool

Source: Internet
Author: User
CentOS5.4 install the highlighted vim editing tool [root @ localhost ~] # Yuminstallvim-* Loadedplugins: fastest?loading=speedsfromcachedhostfile * addons: mirrors.ta139.com * base: mirrors... CentOS 5.4 install the highlighted vim editing tool [root @ localhost ~] # Yum install vim-* Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * addons: mirrors.ta139.com * base: mirrors.ta139.com * extras: Interval * updates: mirrors. ta139.comaddons | 1.9 kB 00: 00 base | 1.1 kB 00: 00 extras | 2.1 kB 00: 00 updates | 1.9 kB 00: 00 Setting up Install ProcessResolving Dependencies --> Running transaction check ---> Package vim-X11.i386 2: 7. 0.109-7.2. El5 set to be updated ---> Package vim-common.i386. 0.109-7.2.el5 set to be updated ---> Package vim-enhanced.i386. 0.109-7.2.el5 set to be updated ---> Package vim-minimal.i386. 0.109-7.2.el5 set to be updated --> Finished Dependency ResolutionDependencies Resolved ================== ========================================================== ============= Package Arch Version Repository Size ============== ========================================================== ======================================== Installing: vim-X11 i386. 0.109-7.2.el5 base 1.4 M vim-common i386. 0.109-7.2.el5 base 6.4 M vim-enhanced i386. 0.109-7.2.el5 base 1.2 MUpdating: vim-minimal i386. 0.109-7.2.el5 base 310 k Transaction Summary ============================== ========================================================== ======= Install 3 Package (s) update 1 Pac Kage (s) Remove 0 Package (s) Total download size: 9.4 MIs this OK [y/N]: yDownloading Packages :( 1/4): vim-minimal-7.0.109-7.2.el5.i386.rpm | 310 kB (2/4 ): vim-enhanced-7.0.109-7.2.el5.i386.rpm | 1.2 MB (3/4): vim-X11-7.0.109-7.2.el5.i386.rpm | 1.4 MB (4/4): vim-common-7.0.109-7.2.el5.i386.rpm | 6.4 MB ----------------------------------------------------------------------------------- T Otal 130 kB/s | 9.4 MB 01: 13 Running rpm_check_debugRunning Transaction TestFinished Transaction Test SucceededRunning Transaction Installing: vim-common 1/5 Installing: vim-X11 2/5 Installing: vim-enhanced 3/5 Updating: vim-minimal 4/5 Cleanup: vim-minimal 5/5 Installed: vim-X11.i386. 0.109-7.2.el5 vim-common.i386. 0.109-7.2.el5 vim-enhanced.i386. 0.109-7.2.el5Updated: Vim-minimal.i386. 0.109-7.2.el5Complete! [Root @ localhost ~] # Which vi/bin/vi [root @ localhost ~] # Which vim/usr/bin/vim [root @ localhost ~] # Rm/bin/virm: remove regular file '/bin/VI '? Y [root @ localhost ~] # Ln-s/usr/bin/vim/bin/vi [root @ localhost ~] # Which vi/bin/vi [root @ localhost ~] # Ls-l/bin/vilrwxrwxrwx 1 root 12 Jan 18/bin/vi->/usr/bin/vim, modify the/etc/vimrc configuration file directly.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.