1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-23 23:34:12 +03:00

Merge remote-tracking branch 'hugomg/hugomg-ubuntu-g++-10'

This commit is contained in:
Maxime Coste 2022-03-21 20:50:09 +11:00
commit 243a2abf45

View File

@ -205,12 +205,17 @@ sudo zypper install kakoune
[TIP]
.Ubuntu
====
Building on Ubuntu 16.04 and 18.04.
Make sure you have .local/bin in your path to make the kak binary available from your shell.
Kakoune can be found in the Ubuntu repositories.
----------------------------
sudo apt install kakoune
----------------------------
If you want to compile from source on 20.04 or earlier, you must force the build to use GCC 10, which is not the default. Also, make sure you have .local/bin in your path so that kak is available after the installation.
----------------------------------------------------------------
git clone https://github.com/mawww/kakoune.git && cd kakoune/src
make
CXX=g++-10 make
PREFIX=$HOME/.local make install
----------------------------------------------------------------
====