Skip to content

Commit 8a89aed

Browse files
committed
Update build docs for CentOS
Actually there is no Erlang package for Rocky Linux 8 out of the box, and the EPEL package is OTP22. Since we don't support such an old version, we have to download the package from the website.
1 parent e69371f commit 8a89aed

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/tutorials/How-to-build.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Instructions provided in this page are verified for:
44

5-
* CentOS 7
5+
* Rocky Linux 8
66
* Ubuntu 16.04 LTS (Xenial)
77
* Ubuntu 18.04 LTS (Bionic)
88
* macOS 13.3 (Ventura)
@@ -13,12 +13,12 @@ For any other OS versions, the instructions should still work, however, some ste
1313

1414
To compile MongooseIM you need:
1515

16-
=== "CentOS"
16+
=== "Rocky/Alma"
1717

1818
* Make: `make`,
19-
* C and C++ compiler: `gcc`, `gcc-c++`,
20-
* Erlang/OTP 24.0 or higher:
21-
* `erlang` package, or,
19+
* C and C++ compiler: `gcc`, `g++`,
20+
* Erlang/OTP 26.0 or higher:
21+
* `erlang` EPEL package, or,
2222
* `esl-erlang` from [Erlang Solutions website](https://www.erlang-solutions.com/resources/download.html), or,
2323
* install using [kerl](https://github.com/kerl/kerl),
2424
* OpenSSL 0.9.8 or higher, for STARTTLS, SASL and SSL encryption: `openssl` and `openssl-devel`,
@@ -48,12 +48,14 @@ To compile MongooseIM you need:
4848

4949
## Preparing the environment
5050

51-
=== "centOS"
51+
=== "Rocky/Alma"
5252

5353
Please install the required dependencies:
5454

5555
```bash
56-
sudo yum install git make zlib-devel openssl openssl-devel unixODBC-devel gcc gcc-c++ erlang
56+
sudo yum install git make zlib-devel openssl openssl-devel unixODBC-devel gcc gcc-c++
57+
wget https://binaries2.erlang-solutions.com/rockylinux/8/esl-erlang_26.2.4_1~rockylinux~8_x86_64.rpm
58+
sudo dnf -Uvh esl-erlang_26.2.4_1~rockylinux~8_x86_64.rpm
5759
```
5860

5961
Now, please proceed to the "Building" section.

0 commit comments

Comments
 (0)