如何在 ubuntu 上卸载亚马逊应用程序?

如何在 ubuntu 上卸载亚马逊应用程序?

我试过使用

sudo apt-get remove amazon

结果是sudo-apt-get: command not found

我试过了

sudo apt-get remove amazon*

我得到了

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'unity-webapps-amazoncloudreader' for regex 'amazon*'
Note, selecting 'ruby-amazon-ec2' for regex 'amazon*'
Note, selecting 'libnet-amazon-s3-tools-perl' for regex 'amazon*'
Note, selecting 'unity-webapps-amazon' for regex 'amazon*'
Note, selecting 'libnet-amazon-ec2-perl' for regex 'amazon*'
Note, selecting 'gamazons' for regex 'amazon*'
Note, selecting 'libnet-amazon-perl' for regex 'amazon*'
Note, selecting 'libamazon-sqs-simple-perl' for regex 'amazon*'
Note, selecting 'libnet-amazon-s3-perl' for regex 'amazon*'
Note, selecting 'flight-of-the-amazon-queen' for regex 'amazon*'
Note, selecting 'gmpc-plugin-coveramazon' for regex 'amazon*'
Package 'unity-webapps-amazon' is not installed, so not removed
Package 'gmpc-plugin-coveramazon' is not installed, so not removed
Package 'flight-of-the-amazon-queen' is not installed, so not removed
Package 'gamazons' is not installed, so not removed
Package 'libamazon-sqs-simple-perl' is not installed, so not removed
Package 'libnet-amazon-ec2-perl' is not installed, so not removed
Package 'libnet-amazon-perl' is not installed, so not removed
Package 'libnet-amazon-s3-perl' is not installed, so not removed
Package 'libnet-amazon-s3-tools-perl' is not installed, so not removed
Package 'ruby-amazon-ec2' is not installed, so not removed
Package 'unity-webapps-amazoncloudreader' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.

我如何删除这个默认安装的亚马逊应用程序?

答案1

尝试这个:

sudo apt-get remove unity-webapps-common

答案2

为什么会抛出错误

sudo-apt-get remove amazon

这个问题有多个

  • sudo apt-get remove PACKAGENAME不是sudo-apt get PACKAGENAME
  • 您在这里猜测 PACKAGENAMES(amazon)

如何找到包名称并删除它们

我建议先检查需要删除的包名称,然后将其删除。

您可以像这样首先过滤所有已安装的软件包名称中的字符串 amazon

sudo dpkg -l | grep amazon

这应该输出所有包含字符串 amazon 的已安装包名称。

然后 - 如果你知道要删除哪个包名,请执行以下操作

sudo apt-get remove PACKAGENAME

或者

sudo apt remove PACKAGENAME

正如@Saikat Kundu 已​​经提到的 - 在这种特殊情况下您正在寻找的包名称是unity-webapps-common

希望这有助于理解apt

相关内容