I am running CentOS 7 with PostgreSQL 13, and I have been trying to install pgAdmin 4 (version 4.x) due to compatibility issues between pgAdmin 5.x and PostgreSQL 13. Unfortunately, I am encountering several issues during installation.
Here are the details:
- I attempted to install pgAdmin 4 using
yum
with the official pgAdmin repository. However, I faced a 404 error because the repository URL seems to be broken or outdated:https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/rhel7/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
- I also tried installing pgAdmin by downloading the
.rpm
package directly from the official site usingwget
:
However, I received a 404 Not Found error indicating the file is unavailable.wget https://ftp.postgresql.org/pub/pgadmin/pgadmin4/rpm/pgadmin4-6.19-1.rhel7.x86_64.rpm
- Then, I tried installing the repository configuration package (
pgadmin4-redhat-repo-2-1.noarch.rpm
) usingrpm -i
, which seemed to install successfully. But when I ranrpm -Uvh
to install pgAdmin 4, I encountered an error stating "No such file or directory" because the.rpm
file wasn’t available in the working directory.
Here are the steps I've taken so far:
- Added the repository using
rpm
for pgAdmin4. - Downloaded the
.rpm
files for pgAdmin 4 (but the download URLs return a 404 error). - Tried installing via
yum
andrpm
but faced repository issues or missing files.
I need to install a version of pgAdmin 4 that's compatible with PostgreSQL 13. Could anyone guide me on the correct steps or provide alternative installation methods that could resolve these issues?
My environment:
- CentOS 7
- PostgreSQL 13
- pgAdmin 5.x compatibility issue with PostgreSQL 13
Any help or suggestions would be greatly appreciated!