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.
– tatsu
Jul 16 '19 at 14:45
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!
– drkvogel
Feb 25 '22 at 14:39
apt-get --purge remove postgresql not work, and why are there only 3 upvotes for this answer??
– drkvogel
Feb 25 '22 at 14:41
sudo apt purge psql*return? – tatsu Jul 16 '19 at 13:45postgresql-client-common. Though I'm pretty sure I did anapt removeon that too – Zach Smith Jul 16 '19 at 13:48