linux installing postgresql code example
Example 1: how to install psql in ubuntu
sudo apt-get install postgresql
Example 2: install postgresql ubuntu
sudo apt install postgresql postgresql-contrib
Example 3: désinstaller postgresql linux
sudo aptitude purge postgresql postgresql-common
sudo dpkg -P postgresql-8.4
sudo find / -name postgresql -exec rm -Rf {} \;
sudo find / -name pgsql -exec rm -Rf {} \;
sudo find / -name psql -exec rm -Rf {} \;
sudo userdel postgres
Example 4: debian install postgresql
apt-get install postgresql-12