linux安装 redis You need tcl 8.5 or newer in order to run the Redis test

问题:You need tcl 8.5 or newer in order to run the Redis test

在这里插入图片描述

按照错误信息的提示可知:系统中 缺少 tcl 或者 tcl 版本比较老。

检查系统中是否有 tcl:

rpm -qa | grep tcl

在这里插入图片描述

下载:

wget http://mirror.centos.org/centos/7/os/x86_64/Packages/tcl-8.5.13-8.el7.x86_64.rpm

安装:

rpm -ivh tcl-8.5.13-8.el7.x86_64.rpm

在这里插入图片描述