编绎vim8.2+deepin v15.11

引用链接

1.确认依赖

libncurses5-dev python-dev python3-dev

2.下载源码

git clone https://github.com/junegunn/vim-plug.git

3.配置需求

cd vim/
./configure --prefix=/opt/vim --with-features=huge --enable-multibyte --enable-gui=no --enable-rubyinterp=yes --enable-perlinterp=yes --enable-cscope --enable-pythoninterp=yes --enable-python3interp=yes --with-python-config-dir=/lib/python2.7/config-x86_64-linux-gnu/ --with-python3-config-dir=/lib/python3.5/config-3.5m-x86_64-linux-gnu/
--prefix=/opt/vim: 指定安装路径
--with-features=huge:支持最大特性
--enable-multibyte:支持输入中文
--enable-gui=no:禁用图形界面
--enable-rubyinterp=yes:支持ruby编写的插件
--enable-perlinterp=yes 支持perl编写的插件
--enable-cscope:支持cscope 
--enable-pythoninterp=yes:支持python编写的插件
--enable-python3interp=yes:支持python3编写的插件
--with-python-config-dir=/lib/python2.7/config-x86_64-linux-gnu/:指定python的配置路径
--with-python3-config-dir=/lib/python3.5/config-3.5m-x86_64-linux-gnu/:指定python3的配置路径

4.安装

make
sudo make install

5.优化执行路径

sudo ln -s /opt/vim/bin/vim /usr/local/bin/vim
sudo ln -s /opt/vim/share/man/* /usr/local/man/

编绎vim8.2+deepin v15.11

上一篇:Mac图像编辑软件哪款好用?ACDSee Pro Mac版好用吗?


下一篇:Linux日志采集方案