I am able to uninstall postgresql from Ubuntu. But I cannot seem remove the client - psql
.
I've tried the steps listed here: How to remove Postgres from my installation?. But it still doesn't work
I am able to uninstall postgresql from Ubuntu. But I cannot seem remove the client - psql
.
I've tried the steps listed here: How to remove Postgres from my installation?. But it still doesn't work
the command you are looking for is :
sudo apt purge postgresql-client-common
purge is different from remove as it will also remove the dependencies that only this app uses.
purge
either. purge can be really handy when you are in a scenario where don't want any of the app left on your system and you don't know what package name you are looking for. in this case it worked for him, I assume, because postgresql-client-common
was one of the dependencies pulled when installing psql
.
docker-compose.override.yml
file to remap the ports to avoid the conflict... a similar problem just came up (but not the same - I wanted to remove pg latest and install an earlier version for some testing), and I found this - thank you!
apt-get --purge remove postgresql
not work, and why are there only 3 upvotes for this answer??
sudo apt purge psql*
return?