fixing formatting

This commit is contained in:
Peter Harpending 2025-09-23 14:55:13 -07:00
parent 0b56df873d
commit 5aadf32c81

View File

@ -12,58 +12,58 @@ Last updated: September 23, 2025 (PRH).
Adapt this to your Linux distribution. Adapt this to your Linux distribution.
1.a. **Install necessary build tools** a. **Install necessary build tools**
```bash ```bash
sudo apt update sudo apt update
sudo apt upgrade sudo apt upgrade
sudo apt install \ sudo apt install \
gcc curl g++ dpkg-dev build-essential automake autoconf \ gcc curl g++ dpkg-dev build-essential automake autoconf \
libncurses-dev libssl-dev flex xsltproc libwxgtk3.2-dev \ libncurses-dev libssl-dev flex xsltproc libwxgtk3.2-dev \
wget vim git wget vim git
``` ```
1.b. **Put [Kerl](https://github.com/kerl/kerl) somewhere in your b. **Put [Kerl](https://github.com/kerl/kerl) somewhere
`$PATH`**. This is a tool to build Erlang releases. in your `$PATH`**. This is a tool to build Erlang releases.
```bash ```bash
wget -O ~/bin/kerl https://raw.githubusercontent.com/kerl/kerl/master/kerl wget -O ~/bin/kerl https://raw.githubusercontent.com/kerl/kerl/master/kerl
chmod u+x ~/bin/kerl chmod u+x ~/bin/kerl
``` ```
1.c. **Build Erlang from source using Kerl** c. **Build Erlang from source using Kerl**
```bash ```bash
kerl update releases kerl update releases
## use the most recent one that looks stable ## use the most recent one that looks stable
## you do need to type the number twice, that's not a typo ## you do need to type the number twice, that's not a typo
kerl build 28.1 28.1 kerl build 28.1 28.1
kerl install 28.1 ~/.erts/28.1 kerl install 28.1 ~/.erts/28.1
``` ```
1.d. **Put Erlang in your `$PATH`** d. **Put Erlang in your `$PATH`**
Update .bashrc or .zshrc or whatever with the following line: Update .bashrc or .zshrc or whatever with the following line:
```bash ```bash
. $HOME/.erts/28.1/activate . $HOME/.erts/28.1/activate
``` ```
1.e. **Install zx** e. **Install zx**
```bash ```bash
wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx
``` ```
1.f. **Test zx works** f. **Test zx works**
zx installs itself to `~/bin`, so make sure that's in your zx installs itself to `~/bin`, so make sure that's in your
`$PATH`. `$PATH`.
```bash ```bash
zx run erltris zx run erltris
``` ```
## Notes ## Notes