-bash: vim: command not found.
来源:互联网 发布:线切割编程教学视频 编辑:程序博客网 时间:2024/06/05 13:35
用centos 的主机的時候, 用 vim 时出现 -bash: vim: command not found. 只能使用 vi. 那么如何安裝 vim 呢?
输入 rpm -qa|grep vim 命令, 如果 vim 已经正确安装,会返回下面的三行代码:
[root@centos]# rpm -qa |grep vim
vim-minimal-7.0.109-6.el5
vim-common-7.0.109-7.2.el5
vim-enhanced-7.0.109-7.2.el5
如果少了其中的某一条,比如 vim-enhanced 的,就用命令 yum -y install vim-enhanced 来安装:
yum -y install vim-enhanced
如果上面的三条都沒有返回, 可以直接用 yum -y install vim* 命令
yum -y install vim*
0 0
- bash: vim: command not found
- -bash:vim command not found
- -bash: vim: command not found.
- centos -bash: vim: command not found
- 解決 centos -bash: vim: command not found
- 解決 centos -bash: vim: command not found
- bash:command not found
- bash:command not found
- bash:command not found
- bash:command not found
- bash: ***: command not found
- 【ERROR】bash: vim: command not found 的解决
- 解決 centos中-bash: vim: command not found
- vim: command not found
- -bash: id: command not found -bash: tty: command not found
- bash: id : command not found -bash: tty: command not found
- -bash: sz: command not found、-bash: rz: command not found
- -bash: mkfir: command not found -bash: wget: command not found
- 理解RESTful架构
- Leetcode: Nim Game
- 简单网络问题的解决思路
- JAVA反序列化exp及使用方法
- Android应用setContentView与LayoutInflater加载解析机制源码分析
- -bash: vim: command not found.
- 2015.12.9
- android-make
- win7下android-studio中Ctrl+space代码快捷提示没用起作用
- Linux配置管理
- View的事件分发机制
- 科目二考试的只言片语
- plsql 实战题目 一:
- OC学习篇之---@property和@synthesize的使用