卸载使用 amazon-linux-extras 安装的软件包

Tra*_*s D 6 amazon-ec2 amazon-web-services amazon-linux-extras

如何卸载使用 amazon-linux-extras 安装的软件包?

sudo amazon-linux-extras install postgresql10
Run Code Online (Sandbox Code Playgroud)

安装它。现在...我该如何删除它?

sudo amazon-linux-extras uninstall postgresql10
Run Code Online (Sandbox Code Playgroud)

没有。

sudo amazon-linux-extras remove postgresql10
Run Code Online (Sandbox Code Playgroud)

没有。

yum remove postgresql10
Run Code Online (Sandbox Code Playgroud)

没有。

啥?

Erv*_*gyi 8

sudo yum remove postgresql
Run Code Online (Sandbox Code Playgroud)

为了确认我们正在删除使用安装的内容,我们可以在运行命令后amazon-linux-extras检查:Repositorysudo yum remove

在此输入图像描述