Skip to content

Instantly share code, notes, and snippets.

@mkohlhaas
Last active October 20, 2024 20:31
Show Gist options
  • Save mkohlhaas/dfbd14a13a483ac086e6a55509a0df84 to your computer and use it in GitHub Desktop.
Save mkohlhaas/dfbd14a13a483ac086e6a55509a0df84 to your computer and use it in GitHub Desktop.
kerl, rebar3
$ sudo pacman -S unixodbc
$ sudo pacman -S jdk-openjdk
$ sudo pacman -S wxwidgets-gtk3
$ sudo pacman -S fop
export KERL_DOC_TARGETS="html chunks"
export KERL_BUILD_DOCS=yes
export KERL_BUILD_BACKEND=tarball
export KERL_CONFIGURE_OPTIONS="--without-odbc"
$ kerl update releases
$ kerl list releases
$ kerl list releases all
$ kerl build 27.0 27.0
$ mkdir ~/Kerl
$ kerl install 27.0 ~/Kerl/27.0
$ kerl delete build 27.0
$ kerl delete installation 27.0
$ mkdir -p ~/.local/share/bash-completion/completions/
$ curl https://raw.githubusercontent.com/kerl/kerl/master/bash_completion/kerl > ~/.local/share/bash-completion/completions/kerl
$ curl https://github.com/erlang/rebar3/blob/main/apps/rebar/priv/shell-completion/bash/rebar3 > ~/.local/share/bash-completion/completions/rebar3
Rebar3 installation:
https://rebar3.org/docs/getting-started/#installing-from-the-rebar3-escript
Create bash completion file:
rebar3 completion -s bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment