Skip to content

Commit deb09b3

Browse files
villepehsandhose
andauthored
Add Oracle Linux installation instructions (#17436)
### Pull Request Checklist <!-- Please read https://element-hq.github.io/synapse/latest/development/contributing_guide.html before submitting your pull request --> * [X] Pull request is based on the develop branch * [X] Pull request includes a [changelog file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog). The entry should: - Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from `EventStore` to `EventWorkerStore`.". - Use markdown where necessary, mostly for `code blocks`. - End with either a period (.) or an exclamation mark (!). - Start with a capital letter. - Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry. * [X] [Code style](https://element-hq.github.io/synapse/latest/code_style.html) is correct (run the [linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters)) I forgot the guide applies to Oracle Linux as well. In fact, I ran a small homeserver on OEL a few months back. I did minimal installations on Rocky and OEL on VirtualBox and noticed Codeready/Powertools repos aren't required, so I removed those commands from the guide. I switched `RHEL`-references to `EL`. #17423 was merged before I remembered about OEL but a new PR shouldn't hurt :) --------- Co-authored-by: Quentin Gliech <[email protected]>
1 parent 7726130 commit deb09b3

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

changelog.d/17436.doc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add Oracle Linux 8 and 9 installation instructions.

docs/setup/installation.md

+3-14
Original file line numberDiff line numberDiff line change
@@ -310,29 +310,18 @@ sudo dnf install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
310310
sudo dnf group install "Development Tools"
311311
```
312312

313-
##### Red Hat Enterprise Linux / Rocky Linux
313+
##### Red Hat Enterprise Linux / Rocky Linux / Oracle Linux
314314

315-
*Note: The term "RHEL" below refers to both Red Hat Enterprise Linux and Rocky Linux. The distributions are 1:1 binary compatible.*
315+
*Note: The term "RHEL" below refers to Red Hat Enterprise Linux, Oracle Linux and Rocky Linux. The distributions are 1:1 binary compatible.*
316316

317317
It's recommended to use the latest Python versions.
318318

319-
RHEL 8 in particular ships with Python 3.6 by default which is EOL and therefore no longer supported by Synapse. RHEL 9 ship with Python 3.9 which is still supported by the Python core team as of this writing. However, newer Python versions provide significant performance improvements and they're available in official distributions' repositories. Therefore it's recommended to use them.
319+
RHEL 8 in particular ships with Python 3.6 by default which is EOL and therefore no longer supported by Synapse. RHEL 9 ships with Python 3.9 which is still supported by the Python core team as of this writing. However, newer Python versions provide significant performance improvements and they're available in official distributions' repositories. Therefore it's recommended to use them.
320320

321321
Python 3.11 and 3.12 are available for both RHEL 8 and 9.
322322

323323
These commands should be run as root user.
324324

325-
RHEL 8
326-
```bash
327-
# Enable PowerTools repository
328-
dnf config-manager --set-enabled powertools
329-
```
330-
RHEL 9
331-
```bash
332-
# Enable CodeReady Linux Builder repository
333-
crb enable
334-
```
335-
336325
Install new version of Python. You only need one of these:
337326
```bash
338327
# Python 3.11

0 commit comments

Comments
 (0)