Update INSTALL-repo.mdx with RHEL9 instructions#7018
Update INSTALL-repo.mdx with RHEL9 instructions#7018sergioenterprisedb wants to merge 1 commit intoEnterpriseDB:developfrom
Conversation
Can you please update the documentation with RHEL9 required packages?
|
Related to https://enterprisedb.atlassian.net/browse/TPA-624 Also, bear in mind that changes to TPA docs often need to be done in the upstream repo. See internal docs team wiki for more info. |
| First, you must install the various dependencies Python 3, Python | ||
| venv, git, openvpn and patch. Installing from EDB repositories | ||
| would install these automatically along with the TPA | ||
| packages. | ||
|
|
||
| Before you install TPA, you must install the required packages: | ||
|
|
||
| - **Debian/Ubuntu** <br/> `sudo apt-get install python3 python3-pip python3-venv git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL7)** <br/> `sudo yum install python3 python3-pip epel-release git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL8)** <br/>`sudo yum install python36 python3-pip epel-release git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL9???????)** <br/>`sudo yum install python36 python3-pip epel-release git openvpn patch` |
There was a problem hiding this comment.
I believe this information is outdated. TPA requires Python 3.12 on the TPA controller host. See the Dependencies section in this doc below.
@sonotley FYI
There was a problem hiding this comment.
True, I also think we don't need openvpn or patch? We just need to re-check the whole list.
| - **Debian/Ubuntu** <br/> `sudo apt-get install python3 python3-pip python3-venv git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL7)** <br/> `sudo yum install python3 python3-pip epel-release git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL8)** <br/>`sudo yum install python36 python3-pip epel-release git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL9???????)** <br/>`sudo yum install python36 python3-pip epel-release git openvpn patch` |
There was a problem hiding this comment.
| - **Redhat, Rocky or AlmaLinux (RHEL9???????)** <br/>`sudo yum install python36 python3-pip epel-release git openvpn patch` | |
| - **Redhat, Rocky or AlmaLinux (RHEL9)** <br/>`sudo yum install python312 python312-pip epel-release git openvpn patch` |
There was a problem hiding this comment.
@haroon-github @sonotley Does the above suggestion make sense for updating the command for RHEL 9?
We can create a JIRA to check the whole list. Please let me know.
There was a problem hiding this comment.
Let's just check the whole list before we publish anything. No-one is waiting on this. Please create a Jira if that's what we need. @haroon-github is off sick at the moment but it should be a quick job for him when he is back.
There was a problem hiding this comment.
Okay, I think we can use this JIRA on the TPA board: https://enterprisedb.atlassian.net/browse/TPA-624. Let's wait for @haroon-github to return and review the entire list, then update it.
There was a problem hiding this comment.
Why do we even need to mention separate EL versions? This was true when we were relying on the platform supplied Python and different distros had their own defaults. Now that we have standardized on Python 3.12 across platforms, perhaps it's fine if we just divide this into two categories i.e. Deb/Ubuntu and RHEL/OL/Rocky/AlmaLinux? We don't need openvpn, patch is useful if someone wanted to apply a patch or something since they are using sources. It's useful anyway for the dev environments.
Also, why did we add epel-release?
|
Cloned to the docs board and added the label to get this assigned and done while triaging the backlog: https://enterprisedb.atlassian.net/browse/DOCS-3184 |
| First, you must install the various dependencies Python 3, Python | ||
| venv, git, openvpn and patch. Installing from EDB repositories | ||
| would install these automatically along with the TPA | ||
| packages. | ||
|
|
||
| Before you install TPA, you must install the required packages: | ||
|
|
||
| - **Debian/Ubuntu** <br/> `sudo apt-get install python3 python3-pip python3-venv git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL7)** <br/> `sudo yum install python3 python3-pip epel-release git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL8)** <br/>`sudo yum install python36 python3-pip epel-release git openvpn patch` | ||
| - **Redhat, Rocky or AlmaLinux (RHEL9???????)** <br/>`sudo yum install python36 python3-pip epel-release git openvpn patch` |
There was a problem hiding this comment.
| - **Redhat, Rocky or AlmaLinux (RHEL9???????)** <br/>`sudo yum install python36 python3-pip epel-release git openvpn patch` | |
| Before installing TPA from source, ensure that git is available on your system. | |
| You must also have a Python 3.12 interpreter including the `pip` and `venv` modules present on your system. If your OS repositories do not provide Python 3.12, we recommend using [pyenv](https://github.com/pyenv/pyenv) to build your own. |
There was a problem hiding this comment.
I'm not sure this suggestion has come our right. I meant to replace the whole of lines 24 through 34.
Can you please update the documentation with RHEL9 required packages?
What Changed?