How to build vim on Ubuntu 20.04

How to build vim on Ubuntu 20.04

Since the development of the latest vim is active, you are interested in the latest vim. I'm a light vimmer, but I'm still curious about the latest.

This information is almost as per the official page, but the official information is a bit old, so the purpose is to organize it so that it can be built on Ubuntu 20.04.

https://vim-jp.org/docs/build_linux.html

Library / language installation

Also include the libraries and languages ​​required for build python, ruby, lua, perl

sudo apt install -y git build-essential autoconf automake cproto gettext
sudo apt install -y libacl1-dev libgpm-dev libgtk-3-dev libtinfo-dev libxmu-dev libxpm-dev libncurses-dev 
sudo apt install -y libperl-dev liblua5.2-0 liblua5.2-dev libluajit-5.1-dev lua5.2 luajit python-dev python3-dev ruby-dev

vim clone

git clone https://github.com/vim/vim.git

Build & install

./configure  --prefix=/usr/local/ --with-features=huge --enable-multibyte --enable-gpm --enable-cscope --enable-perlinterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-acl --enable-fontset --enable-xim --enable-terminal --enable-fail-if-missing --with-luajit --with-x
make
sudo make install

If you want to build with Python for pyenv

Use ** --with-python3-command = ** to specify the python path for pyenv

--enable-python3interp --with-python3-command=$(echo $HOME)/.anyenv/envs/pyenv/shims/python

./configure  --prefix=/usr/local/ --with-features=huge --enable-multibyte --enable-gpm --enable-cscope --enable-perlinterp --enable-python3interp --with-python3-command=$(echo $HOME)/.anyenv/envs/pyenv/shims/python --enable-rubyinterp --enable-luainterp --enable-acl --enable-fontset --enable-xim --enable-terminal --enable-fail-if-missing --with-luajit --with-x
make 
sudo make install

Finally

When you wake up in the morning and start your PC, do git pull to build and install it. The latest vim experience is waiting for you.

Recommended Posts

How to build vim on Ubuntu 20.04
How to use Bio-Formats on Ubuntu 20.04
How to install WildFly on Ubuntu 18.04
How to change the timezone on Ubuntu
How to build android-midi-lib
Build Zabbix on Ubuntu 20.04
How to configure ubuntu to be used on GCP
How to install network drivers on standalone Ubuntu
How to install NVIDIA driver on Ubuntu 18.04 (Note)
How to install multiple JDKs on Ubuntu 18.04 LTS
How to run NullpoMino 7.5.0 on Ubuntu 20.04.1 64bit version
Build VNC Server on Ubuntu 20.04
How to deploy on heroku
Ubuntu on Windows build speed
How to add HDD to Ubuntu
How to install NVIDIA driver on Ubuntu ssh destination
How to deploy jQuery on Rails
How to deploy Laravel on CentOS 7
How to "hollow" View on Android
[Java] How to update Java on Windows
How to use Ruby on Rails
How to deploy Bootstrap on Rails
How to run JavaFX on Docker
How to Install Elixir and Phoenix Framework on Ubuntu 20.04 LTS
How to install MariaDB 10.4 on CentOS 8
Rails on Tiles (how to write)
Build a XAMPP environment on Ubuntu
Preparing to use electron-react-boilerplate on Ubuntu 20.4
How to install java9 on elementaryOS Freya or Ubuntu 14.04 LTS
Build ffmpeg 4.3.1 on Ubuntu for Windows
How to distinguish ubuntu cloud image
How to build CloudStack using Docker
How to install and configure the monitoring tool "Graphite" on Ubuntu
How to install the language used in Ubuntu and how to build the environment
How to install Adopt OpenJDK on Debian, Ubuntu with apt (-get)
Install Ubuntu20.04 on RaspberryPi 4 and build Kubernetes to run the container
A memorandum on how to use Eclipse
How to redo a deployment on Heroku
How to use Apache Derby on Eclipse
[Ruby on Rails] How to use CarrierWave
How to detect microphone conflicts on Android
How to install Eclipse (Photon) on Mac
How to publish an application on Heroku
Don't know how to build task'credentials: edit'
I want to install PHP 7.2 on Ubuntu 20.04.
How to switch Java versions on Mac
How to build SquashTM and how to support Japanese
[Ruby on Rails] How to use redirect_to
Build OpenCV with Java Wrapper on Ubuntu 18.04
I tried to build AdoptOpenjdk 11 on CentOS 7
[Ruby on Rails] How to use kaminari
How to install kafkacat on Amazon Linux2
How to send push notifications on AWS
Serially connect to Ubuntu on Raspberry Pi
How to build Rails 6 environment with Docker
How to install c2ffi on Ubuntu, which automatically parses C header files
How to build a Ruby on Rails environment using Docker (for Docker beginners)
How to deploy
How to build a Ruby on Rails development environment with Docker (Rails 6.x)
[Docker] How to build when the source code is bind-mounted on the container
How to build a Ruby on Rails development environment with Docker (Rails 5.x)