在Ubuntu 18下,试用了cutecom、picocom、putty,决定CuteCom最友好。
但是CentOS7没有提供CuteCom。根据CentOS7安装CuteCom提供的方法,在CentOS7.5.1804下安装cutecom成功。
总结起来,是先安装libQt3Support.so.4,再从http://springdale.math.ias.edu/data/puias/unsupported/6/i386/下载cutecom-0.22.0-1.puias6.i686.rpm,再安装cutecom-0.22.0-1.puias6.i686.rpm。
[Downloads]$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core
[Downloads]$ ls -l
total 47893540
-rw-rw-r--. 1 hankf hankf 54128 Feb 11 01:13 cutecom-0.22.0-1.puias6.i686.rpm
[Downloads]$ sudo rpm -i cutecom-0.22.0-1.puias6.i686.rpm
[sudo] password for hankf:
warning: cutecom-0.22.0-1.puias6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 41a40948: NOKEY
error: Failed dependencies:
libQt3Support.so.4 is needed by cutecom-0.22.0-1.puias6.i686
libQtCore.so.4 is needed by cutecom-0.22.0-1.puias6.i686
libQtGui.so.4 is needed by cutecom-0.22.0-1.puias6.i686
libc.so.6 is needed by cutecom-0.22.0-1.puias6.i686
libc.so.6(GLIBC_2.0) is needed by cutecom-0.22.0-1.puias6.i686
libc.so.6(GLIBC_2.1.3) is needed by cutecom-0.22.0-1.puias6.i686
libc.so.6(GLIBC_2.3.4) is needed by cutecom-0.22.0-1.puias6.i686
libc.so.6(GLIBC_2.4) is needed by cutecom-0.22.0-1.puias6.i686
libc.so.6(GLIBC_2.7) is needed by cutecom-0.22.0-1.puias6.i686
libgcc_s.so.1 is needed by cutecom-0.22.0-1.puias6.i686
libgcc_s.so.1(GCC_3.0) is needed by cutecom-0.22.0-1.puias6.i686
libgcc_s.so.1(GLIBC_2.0) is needed by cutecom-0.22.0-1.puias6.i686
libm.so.6 is needed by cutecom-0.22.0-1.puias6.i686
libstdc++.so.6 is needed by cutecom-0.22.0-1.puias6.i686
libstdc++.so.6(CXXABI_1.3) is needed by cutecom-0.22.0-1.puias6.i686
libstdc++.so.6(GLIBCXX_3.4) is needed by cutecom-0.22.0-1.puias6.i686
libstdc++.so.6(GLIBCXX_3.4.11) is needed by cutecom-0.22.0-1.puias6.i686
libstdc++.so.6(GLIBCXX_3.4.9) is needed by cutecom-0.22.0-1.puias6.i686
[Downloads]$ sudo yum install libQt3Support.so.4
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.ipserverone.com
* epel: mirror2.totbb.net
* extras: mirror.upsi.edu.my
* nux-dextop: li.nux.ro
* rpmfusion-free-updates: ftp-stud.hs-esslingen.de
* updates: mirror.upsi.edu.my
Resolving Dependencies
--> Running transaction check
---> Package qt-x11.i686 1:4.8.7-9.el7_9 will be installed
--> Processing Dependency: qt(x86-32) = 1:4.8.7-9.el7_9 for package: 1:qt-x11-4.8.7-9.el7_9.i686
--> Processing Dependency: libz.so.1 for package: 1:qt-x11-4.8.7-9.el7_9.i686
--> Processing Dependency: libtiff.so.5(LIBTIFF_4.0) for package: 1:qt-x11-4.8.7-9.el7_9.i686
...........
Updated:
gdm.x86_64 1:3.28.2-26.el7 gnome-settings-daemon.x86_64 0:3.28.1-11.el7_9
Dependency Updated:
...........
xorg-x11-drv-v4l.x86_64 0:0.2.0-49.el7
xorg-x11-drv-vesa.x86_64 0:2.4.0-3.el7
xorg-x11-drv-vmware.x86_64 0:13.2.1-1.el7.1
xorg-x11-server-Xorg.x86_64 0:1.20.4-17.el7_9
xorg-x11-server-common.x86_64 0:1.20.4-17.el7_9
zlib.x86_64 0:1.2.7-19.el7_9
zlib-devel.x86_64 0:1.2.7-19.el7_9
Replaced:
caribou.x86_64 0:0.4.21-1.el7
caribou-gtk2-module.x86_64 0:0.4.21-1.el7
caribou-gtk3-module.x86_64 0:0.4.21-1.el7
python2-caribou.noarch 0:0.4.21-1.el7
webkitgtk4-plugin-process-gtk2.x86_64 0:2.16.6-6.el7
参考文档
Complete!