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] [TIP]
.Ubuntu .Ubuntu
==== ====
Building on Ubuntu 16.04 and 18.04. Kakoune can be found in the Ubuntu repositories.
Make sure you have .local/bin in your path to make the kak binary available from your shell.
----------------------------
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 git clone https://github.com/mawww/kakoune.git && cd kakoune/src
make CXX=g++-10 make
PREFIX=$HOME/.local make install PREFIX=$HOME/.local make install
---------------------------------------------------------------- ----------------------------------------------------------------
==== ====