标签:
# rpm -ivh openmotif21-2.1.30-11.el7.i686.rpm error: Failed dependencies: libXext.so.6 is needed by openmotif21-2.1.30-11.el7.i686 libXp.so.6 is needed by openmotif21-2.1.30-11.el7.i686 libXt.so.6 is needed by openmotif21-2.1.30-11.el7.i686
查看可用的RPM包:
# yum list available |grep libXext libXext.i686 1.3.2-2.1.el7 base libXext-devel.i686 1.3.2-2.1.el7 base
安装上一步查询出来的包:
# yum install libXext.i686 Loaded plugins: langpacks, product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package libXext.i686 0:1.3.2-2.1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libXext i686 1.3.2-2.1.el7 base 38 k Transaction Summary ================================================================================ Install 1 Package Total download size: 38 k Installed size: 84 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libXext-1.3.2-2.1.el7.i686 1/1 Verifying : libXext-1.3.2-2.1.el7.i686 1/1 Installed: libXext.i686 0:1.3.2-2.1.el7 Complete!
使用同样的方法,安装其他的依赖包:
# yum install libXp.so.6 Loaded plugins: langpacks, product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package libXp.i686 0:1.0.2-2.1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libXp i686 1.0.2-2.1.el7 base 30 k Transaction Summary ================================================================================ Install 1 Package Total download size: 30 k Installed size: 56 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libXp-1.0.2-2.1.el7.i686 1/1 Verifying : libXp-1.0.2-2.1.el7.i686 1/1 Installed: libXp.i686 0:1.0.2-2.1.el7 Complete! # yum install libXt.so.6 Loaded plugins: langpacks, product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package libXt.i686 0:1.1.4-6.1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libXt i686 1.1.4-6.1.el7 base 167 k Transaction Summary ================================================================================ Install 1 Package Total download size: 167 k Installed size: 384 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libXt-1.1.4-6.1.el7.i686 1/1 Verifying : libXt-1.1.4-6.1.el7.i686 1/1 Installed: libXt.i686 0:1.1.4-6.1.el7 Complete!
安装完所有的依赖包之后,再安装openmotif21:
# rpm -ivh openmotif21-2.1.30-11.el7.i686.rpm Preparing... ################################# [100%] Updating / installing... 1:openmotif21-2.1.30-11.el7 ################################# [100%]
libXext.so.6 libXp.so.6 libXt.so.6 is needed by openmotif21-2.1.30-11.el7.i686
标签:
原文地址:http://www.cnblogs.com/abclife/p/4964188.html