ImageMagic
下载地址 需要下载的包
将包上传的服务器
RPM在Centos7下会出现各种依赖问题,最后选择编译安装
scp
输入密码
继续上传包
scp
输入密码
运行rpm命令:
[root@host-192-168-0-186 hycloud]# rpm -Uvh ImageMagick-7.0.10-57.x86_64.rpm
error: Failed dependencies:
ImageMagick-libs(x86-64) = 7.0.10-57 is needed by ImageMagick-7.0.10-57.x86_64
libMagickCore-7.Q16HDRI.so.8()(64bit) is needed by ImageMagick-7.0.10-57.x86_64
libMagickWand-7.Q16HDRI.so.8()(64bit) is needed by ImageMagick-7.0.10-57.x86_64
libMagickWand-7.Q16HDRI.so.8(VERS_8.0)(64bit) is needed by ImageMagick-7.0.10-57.x86_64
libXt.so.6()(64bit) is needed by ImageMagick-7.0.10-57.x86_64
libfftw3.so.3()(64bit) is needed by ImageMagick-7.0.10-57.x86_64
liblcms2.so.2()(64bit) is needed by ImageMagick-7.0.10-57.x86_64
libltdl.so.7()(64bit) is needed by ImageMagick-7.0.10-57.x86_64
libraqm.so.0()(64bit) is needed by ImageMagick-7.0.10-57.x86_64
[root@host-192-168-0-186 hycloud]# rpm -Uvh ImageMagick-libs-7.0.10-57.x86_64.rpm
error: Failed dependencies:
libHalf.so.12()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libIex-2_2.so.12()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libIexMath-2_2.so.12()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libIlmImf-2_2.so.22()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libIlmThread-2_2.so.12()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libImath-2_2.so.12()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libXt.so.6()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libfftw3.so.3()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libgs.so.9()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
liblcms2.so.2()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libltdl.so.7()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libopenjp2.so.7()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libpng16.so.16()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libpng16.so.16(PNG16_0)(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libraqm.so.0()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libraw_r.so.19()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
librsvg-2.so.2()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libwebp.so.7()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libwebpdemux.so.2()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libwebpmux.so.3()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_64
libwmflite-0.2.so.7()(64bit) is needed by ImageMagick-libs-7.0.10-57.x86_6
http://rpmfind.net/linux/rpm2html/search.php?query=libHalf.so.6
rpm -i ilmbase-1.0.3-7.el7.i686.rpm
error: Failed dependencies:
libc.so.6 is needed by ilmbase-1.0.3-7.el7.i686
libc.so.6(GLIBC_2.0) is needed by ilmbase-1.0.3-7.el7.i686
libc.so.6(GLIBC_2.1.3) is needed by ilmbase-1.0.3-7.el7.i686
libc.so.6(GLIBC_2.4) is needed by ilmbase-1.0.3-7.el7.i686
libgcc_s.so.1 is needed by ilmbase-1.0.3-7.el7.i686
libgcc_s.so.1(GCC_3.0) is needed by ilmbase-1.0.3-7.el7.i686
libm.so.6 is needed by ilmbase-1.0.3-7.el7.i686
libm.so.6(GLIBC_2.0) is needed by ilmbase-1.0.3-7.el7.i686
libpthread.so.0 is needed by ilmbase-1.0.3-7.el7.i686
libpthread.so.0(GLIBC_2.0) is needed by ilmbase-1.0.3-7.el7.i686
libpthread.so.0(GLIBC_2.1) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6 is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(CXXABI_1.3) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4.15) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4.9) is needed by ilmbase-1.0.3-7.el7.i686
rpm -i ilmbase-1.0.3-7.el7.i686.rpm
libgcc_s.so.1 is needed by ilmbase-1.0.3-7.el7.i686
libgcc_s.so.1(GCC_3.0) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6 is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(CXXABI_1.3) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4.15) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4.9) is needed by ilmbase-1.0.3-7.el7.i686
yum install
error: Failed dependencies:
libstdc++.so.6 is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(CXXABI_1.3) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4.15) is needed by ilmbase-1.0.3-7.el7.i686
libstdc++.so.6(GLIBCXX_3.4.9) is needed by ilmbase-1.0.3-7.el7.i686
yum provides libstdc++.so.6
[root@host-192-168-0-186 hycloud]# yum provides libstdc++.so.6
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base: mirrors.huaweicloud.com
epel: mirrors.bfsu.edu.cn
extras: mirrors.huaweicloud.com
updates: mirrors.huaweicloud.com
libstdc+±4.8.5-44.el7.i686 : GNU Standard C++ Library
Repo : base
Matched from:
Provides : libstdc++.so.6
yum install
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.huaweicloud.com
* epel: mirrors.bfsu.edu.cn
* extras: mirrors.huaweicloud.com
* updates: mirrors.huaweicloud.com
Resolving Dependencies
--> Running transaction check
---> Package libstdc++.i686 0:4.8.5-44.el7 will be installed
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for libstdc++ which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libstdc++ of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libstdc++.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libstdc++ installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of libstdc++ installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: libstdc++-4.8.5-44.el7.i686 !=
https://pkgs.org/search/?q=libHalf.so.12()
ld-linux-aarch64.so.1()(64bit) >= set:jieg8 is needed by libhalf12-2.2.0-alt2.aarch64