如何卸载ubuntu上的amazon应用程序?
我试过用过
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.
如何删除默认安装的亚马逊应用程序?
为什么这会引发错误
sudo-apt-get remove amazon
这里的问题是多方面的
- 它的
sudo apt-get remove PACKAGENAME
而不是sudo-apt get PACKAGENAME
- 你在这里猜测PACKAGENAMES(亚马逊)
如何找到包名称并将其删除
我建议先检查一下你需要删除的包名,然后将其删除。
您可以像这样首先过滤所有已安装的字符串亚马逊的包名
sudo dpkg -l | grep amazon
这应该输出包含字符串amazon的所有已安装的包名。
然后 – 如果您知道要删除哪个包名,请执行以下操作
sudo apt-get remove PACKAGENAME
要么
sudo apt remove PACKAGENAME
正如@Saikat Kundu已经提到的那样 – 你在这个特殊情况下看到的包名是unity-webapps-common
。
希望这有助于理解apt
试试这个:
sudo apt-get remove unity-webapps-common