amazon-web-servicesamazon-ec2amazon-linux-extras

Uninstalling a package installed with amazon-linux-extras


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?


Solution

  • 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