text 在Ubuntu 16.04上使用lua安装vim 7.4
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 在Ubuntu 16.04上使用lua安装vim 7.4相关的知识,希望对你有一定的参考价值。
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common -y
#Enable on regular Ubuntu machines, disable on Windows Linux Subsystem
sudo apt-get build-dep vim-gnome -y
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev -y
sudo rm -rf /usr/local/share/vim
sudo rm /usr/bin/vim
sudo mkdir /usr/include/lua5.1/include
sudo mv /usr/include/lua5.1/*.h /usr/include/lua5.1/include/
sudo ln -s /usr/bin/luajit-2.0.4 /usr/bin/luajit
cd ~
git clone https://github.com/vim/vim
cd vim/src
make distclean
./configure --with-features=huge \
--enable-rubyinterp \
--enable-largefile \
--disable-netbeans \
--enable-pythoninterp \
--with-python-config-dir=$(python3-config --configdir) \
--enable-perlinterp \
--enable-luainterp \
--with-luajit \
--enable-gui=auto \
--enable-fail-if-missing \
--with-lua-prefix=/usr/include/lua5.1 \
--enable-cscope
make
sudo make install
以上是关于text 在Ubuntu 16.04上使用lua安装vim 7.4的主要内容,如果未能解决你的问题,请参考以下文章
text 如何在Ubuntu 16.04上添加交换空间
text 如何在Ubuntu 16.04上安装GeckoDriver
Ubuntu16.04安装lsyncd并测试自动同步文件夹至备份服务器
text 如何在Ubuntu LTS上安装最新的gcc(12.04,14.04,16.04)
ubuntu 16.04 pecl 不能安裝 mcrypt
Vim 7.4.1952 with Python/Ruby/Lua/Perl/C Syntax built for Ubuntu 16.04 x86_64