6

How do you UNinstall a package installed with amazon-linux-extras??

sudo amazon-linux-extras install postgresql10

Installs it. Now... how do I remove it?

sudo amazon-linux-extras uninstall postgresql10

Nope.

sudo amazon-linux-extras remove postgresql10

Nope.

yum remove postgresql10

Nope.

WTH?

Travis D
  • 318
  • 1
  • 2
  • 10

2 Answers2

7
sudo yum remove postgresql

In order to confirm we are removing what we did install with amazon-linux-extras, we can check the Repository after we run the sudo yum remove command:

enter image description here

Ervin Szilagyi
  • 14,274
  • 2
  • 25
  • 40
0

Run sudo amazon-linux-extras info postgresql10 to list the yum package names to uninstall, then uninstall them by running sudo yum remove [package-list].

Jonathon Hill
  • 3,445
  • 1
  • 33
  • 31