无法在 Amazon Linux AMI 中安装 qt55

无法在 Amazon Linux AMI 中安装 qt55

我正在尝试按照以下说明在 centos 7 上安装 capybara-webkithttps://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit但我收到错误

sudo yum install epel-release
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest                | 2.1 kB     00:00     
amzn-updates/latest             | 2.3 kB     00:00     
3729 packages excluded due to repository priority protections
Package epel-release-6-8.9.amzn1.noarch already installed and latest version
Nothing to do


sudo yum install qt5-qtwebkit-devel
Loaded plugins: priorities, update-motd, upgrade-helper
3729 packages excluded due to repository priority protections
No package qt5-qtwebkit-devel available.
Error: Nothing to do

操作系统:

cat /etc/issue
Amazon Linux AMI release 2016.09
Kernel \r on an \m

答案1

在 AmazonLinux 中,Qt5 Webkit 可通过 EPEL 存储库获取,您必须执行以下操作来安装它:

sudo yum install epel-release
sudo yum-config-manager --enable epel
sudo yum install qt5-qtwebkit-devel

相关内容