Hi. I want to install pgadmin4 for postgresql 13, please help me what steps i nead to do?
I will try it once my newly installed Parrot OS 4.11 Beta/Testing finishes installing security tools, but this method should work:
The
$(lsb_release -cs)
part of the command probably needs adjusting for Buster. I’ll test it out and see if anything breaks.
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/buster pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
Parrot OS Security 4.10 install pgadmin4 (desktop and web modes).
sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/buster pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
sudo apt install pgadmin4
Unfortunately, the current version of PGAdmin4 requires Python 3.7 which Parrot no longer supports as it is a rolling release of Buster.
┌─[✗]─[a-man@parrot]─[~/Code]
└──╼ $/usr/pgadmin4/bin/pgadmin4
/usr/pgadmin4/bin/pgadmin4: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
DBeaver should work. (I created a SQLite db as my PostgreSQL database isn’t setup yet.)