Last active
May 1, 2025 11:23
-
-
Save lbbedendo/6be08a6159d68be56642bc749f54778d to your computer and use it in GitHub Desktop.
Instalando o pgAdmin 4 no Linux Mint (web e/ou desktop)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Muito obrigado pela ajuda, meu nobre! Bom trabalho!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!!!