当尝试在RedHat Workstation 7和CentOS 7上安装Gluon Scene Builder(JavaFX Scene Builder)时,我得到了大量未解决的依赖项,其中大多数似乎是应该已经安装的标准文件。有什么建议是错的:
[ron@destiny-centos Downloads]$ sudo rpm -i scenebuilder-8.2.0-1.x86_64.rpm
[sudo] password for ron:
error: Failed dependencies:
ld-linux.so.2 is needed by scenebuilder-8.2.0-1.x86_64
libX11.so.6 is needed by scenebuilder-8.2.0-1.x86_64
libXext.so.6 is needed by scenebuilder-8.2.0-1.x86_64
libXi.so.6 is needed by scenebuilder-8.2.0-1.x86_64
libXrender.so.1 is needed by scenebuilder-8.2.0-1.x86_64
libXtst.so.6 is needed by scenebuilder-8.2.0-1.x86_64
libasound.so.2 is needed by scenebuilder-8.2.0-1.x86_64
libc.so.6 is needed by scenebuilder-8.2.0-1.x86_64
libdl.so.2 is needed by scenebuilder-8.2.0-1.x86_64
libgcc_s.so.1 is needed by scenebuilder-8.2.0-1.x86_64
libm.so.6 is needed by scenebuilder-8.2.0-1.x86_64
libpthread.so.0 is needed by scenebuilder-8.2.0-1.x86_64
libthread_db.so.1 is needed by scenebuilder-8.2.0-1.x86_64
答案 0 :(得分:3)
你可以尝试
yum --nogpgcheck localinstall scenebuilder-8.2.0-1.x86_64.rpm
如果已在YUM系统存储库中可用,则将安装所有依赖项。如果没有,请按照this post上的说明进行操作。