我试过使用
sudo apt-get remove amazon
Run Code Online (Sandbox Code Playgroud)
结果是 sudo-apt-get: command not found
我试过
sudo apt-get remove amazon*
Run Code Online (Sandbox Code Playgroud)
我得到了
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.
Run Code Online (Sandbox Code Playgroud)
如何删除默认安装的这个亚马逊应用程序?
sudo-apt-get remove amazon
Run Code Online (Sandbox Code Playgroud)
这里的问题是多方面的
sudo apt-get remove PACKAGENAME不是sudo-apt get PACKAGENAME我建议先检查您需要删除的包名,然后再删除它。
您可以首先像这样过滤字符串 amazon 的所有已安装包名
sudo dpkg -l | grep amazon
Run Code Online (Sandbox Code Playgroud)
这应该输出包含字符串 amazon 的所有已安装包名。
然后 - 如果您知道要删除哪个包名,请执行以下操作
sudo apt-get remove PACKAGENAME
Run Code Online (Sandbox Code Playgroud)
或者
sudo apt remove PACKAGENAME
Run Code Online (Sandbox Code Playgroud)
正如@Saikat Kundu 已经提到的 - 在这种特殊情况下,您正在查找的包名是unity-webapps-common.
希望这有助于理解 apt
| 归档时间: |
|
| 查看次数: |
4732 次 |
| 最近记录: |