請先安裝 CentOS(Community Enterprise Operating System:社區企業操做系統),最好是最新版python
[centos@localhost ~]$ sudo yum groupinstall 'Development Tools'
[centos@localhost ~]$ sudo yum install python-devel python3-devel lua-devel ruby-devel libX11-devel gtk-devel gtk2-devel gtk3-devel ncurses-devel [centos@localhost ~]$ yum search perl | grep ExtUtils [centos@localhost ~]$ sudo yum install perl-ExtUtils-Embed
[centos@localhost ~]$ cd /usr/local/src [centos@localhost src]$ sudo git clone https://github.com/vim/vim.git