-
-
Save lbbedendo/6be08a6159d68be56642bc749f54778d to your computer and use it in GitHub Desktop.
# Adaptado da página oficial do pgAdmin: https://www.pgadmin.org/download/pgadmin-4-apt/ | |
# Testado na versão 20.3 (una) | |
# | |
# Setup the repository | |
# | |
# Install the public key for the repository (if not done previously): | |
sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add | |
# Create the repository configuration file: | |
sudo sh -c '. /etc/upstream-release/lsb-release && echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$DISTRIB_CODENAME pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update' | |
# | |
# Install pgAdmin | |
# | |
# Install for both desktop and web modes: | |
sudo apt install pgadmin4 | |
# Install for desktop mode only: | |
sudo apt install pgadmin4-desktop | |
# Install for web mode only: | |
sudo apt install pgadmin4-web | |
# Configure the webserver, if you installed pgadmin4-web: | |
sudo /usr/pgadmin4/bin/setup-web.sh |
Salvou!
Thank you!! You helped me a lot!
Heeero! thank you!
Worked in Mint 21.3
Thank you!!!
obrigado
Thanks pal!
mol gracias
thanks my pal!
Muchas gracias fue muy util tu ayuda!!!!
Muito obrigado! Me salvou!!
Muito obrigado, salvou o meu dia :)
Salvou meu dia!!! Te amo
Dude you can't imagine how much time I spent on this, you are a lifesaver,
Thank you!!!
Muito obrigado pela ajuda, meu nobre! Bom trabalho!
Thank you! This saved my day S2!
Estava tendo uns probleminhas para instalar seguindo as instruções fornecidas, e depois de algumas atualizações do mint
Então fui testando algumas coisas e cheguei no seguinte que ajudou com alguns erros que estavam acontecendo e deu para instalar sem maiores problemas
Minha versão: Linux Mint 22 Cinnamon
curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/pgadmin.gpg > /dev/null
echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$UBUNTU_CODENAME pgadmin4 main" | sudo tee /etc/apt/sources.list.d/pgadmin4.list
sudo apt update
sudo apt install pgadmin4
Por garantia eu substuiria manualmente o '$UBUNTU_CODENAME' pela versão do UBUNTU (no meu caso é o noble, mas o jammy também funcionou)
Caso alguém precise ta ai, vai que ajuda
Valeu!
Obrigado pela ajuda!