[SOLVED]pgAdmin 4 instalation

Posted:
Sep 18th, '19, 12:57
by evaldas
Hello,
maybe someone couls quide me how to install pgAdmin 4 standalone aplication?
Is it the same as installing on Ubuntu?
Re: pgAdmin 4 instalation

Posted:
Sep 18th, '19, 18:24
by doktor5000
It's probably not the same as on Ubuntu as we use RPM as package manager/format.
Did you try
https://www.pgadmin.org/download/pgadmin-4-rpm/ already ?
Re: pgAdmin 4 instalation

Posted:
Sep 19th, '19, 12:37
by evaldas
I can't find rpm file in their website. Instead I found that it should be postgresql installed and the run:
yum -y install pgadmin4
but I don't know yom -y equivalent in mageia
Re: pgAdmin 4 instalation

Posted:
Sep 19th, '19, 14:29
by evaldas
ok it is rpm. But it looks like I need to install EPEL first. After installing EPEL I tried:
dnf --enablerepo=epel install pgadmin4
but
Unable to find a match: pgadmin4
so I don't understand how to get pgadmin4
Re: pgAdmin 4 instalation

Posted:
Sep 20th, '19, 00:44
by doktor5000
EPEL is only for RedHat-based distros, you cannot use that for Mageia. I've had a quick look, and it seems you can't really use any of the Redhat or Fedora packages, as they depend on quite a few python packages from those distros.
You'd also have to use dnf to install those packages, and as dnf does not support skipping unavailable dependencies (like urpmi --allow-nodeps) you can't even continue with the installation.
So you'd have to take some of the other offered methods, like a python wheel, docker container or building it from source code. Or maybe simply running it inside a Fedora VM.