CentOS6.5安裝Tab加強版:bash-completion

CentOS6.5安裝Tab加強版:bash-completion,可補全命令參數;bash

由於CentOS官方源並不帶有bash-completion的包,因此,爲了可用yum安裝,增長epel的源,get

首先,使用wget下載epel的rpm包,使用rpm指令安裝,以後運行yum安裝,代碼以下:io

[adam@ultraera ~]$ wget http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm下載

[adam@ultraera ~]$ sudo rpm -ivh epel-release-6-8.noarch.rpmyum

[adam@ultraera ~]$ sudo yum clean allmake

[adam@ultraera ~]$ sudo yum makecachewget

[adam@ultraera ~]$ sudo yum install -y bash-completionco

相關文章
相關標籤/搜索