尝试在AWS Linux EC2上安装gearmand,yum无法找到具有默认存储库的必要软件包

时间:2011-10-01 21:57:43

标签: amazon-ec2 amazon-web-services yum gearman

我正在尝试按照本指南在运行Amazon Linux 64位的micro EC2实例上安装gearmand:http://planet.mysql.com/entry/?id=28654

但是我遇到了

的问题
sudo yum install -y libevent-devel.i386

我得到以下输出:

Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
 * amzn-main: packages.eu-west-1.amazonaws.com
 * amzn-updates: packages.eu-west-1.amazonaws.com
amzn-main                                                               | 2.1 kB     00:00     
amzn-updates                                                            | 2.1 kB     00:00     
Setting up Install Process
No package libevent-devel.i386 available.
Error: Nothing to do

是否有存储库我应该添加到yum来安装这些软件包?如果是这样,我如何向yum添加存储库?

1 个答案:

答案 0 :(得分:1)

不应该是libevent-devel.x86_64

您可以使用

进行安装
sudo yum install -y libevent-devel