CentOS – How to Find and Install libXtst.so.6 for SceneBuilder

centoseclipsepackage-management

I have a problem with this library: libXtst.so.6. I work with the eclipse IDE and I want to install scenebuilder-8.3.0-1.x86_64 for Drag and Drop UI in eclipse. When I enter this commend to install scenebuilder

rpm -ihv scenebuilder-8.3.0-1.x86_64

terminal gives me this error:

error: Failed dependencies:

libXtst.so.6 is needed by scenebuilder-8.3.0-1.x86_64

I don't know what it needs of me, but I downloaded and installed libXtst-1.2.2-2.1.el7.x86_64.rpm, but it doesn't work!

Best Answer

Instead of downloading the RPM, you can try installing it from the CentOS repositories with the following (as root):

yum install libXtst

That should pull in any other dependencies and update any packages that require that.

If the 64-bit package is already installed then you may need to install the 32-bit library

yum install libXtst.i686
Related Question