在ubuntu使用visit时不能输出图片/视频,终端显示错误xterm: error while loading shared libraries: libutempter.so.0: cannot open shared object file: No such file or directory
原因没有安装/安装好xterm。
安装xterm:
sudo apt update -y
sudo apt install xterm -y
如果返回 xterm : Depends: libutempter0 (>= 1.1.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
则根据提示运行命令行:
sudo apt --fix-broken install
完成安装。