$ sudo apt-get install ec2-api-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ec2-api-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ec2-api-tools' has no installation candidate
我在哪里可以获得 ec2-api-tools?
https://help.ubuntu.com/community/EC2APITools看上去太老了。
https://help.ubuntu.com/community/EC2StartersGuide也显得太老了。
我想 apt-get 安装这些工具:http://docs.aws.amazon.com/cli/latest/userguide/installing.html#install-bundle-user
更新:更正了我想要的工具的链接。我想要基于 Python 的工具,而不是基于 Java 的工具。
答案1
抱歉,我不得不回答我自己的问题。
ec2-api-tools 被 awscli 取代。
我记不起 awscli 这个名字了,因此才有这个问题。
如果 ec2-api-tools 虚拟包被更新为指向 awscli 包,那就太好了。
$ sudo apt-get install awscli
答案2
可以搜索
> apt search "Amazon Elastic Compute Cloud"
Sorting... Done
Full Text Search... Done
awscli/bionic,bionic 1.14.44-1ubuntu1 all
Universal Command Line Environment for AWS
libnet-amazon-ec2-perl/bionic,bionic 0.35-1 all
Perl interface to the Amazon Elastic Compute Cloud (EC2)