Your documentation states:

"The suggested way of installing Redis is compiling it from sources as Redis has no dependencies other than a working GCC compiler and libc."

Ok, so when I go to install from source, why do i get the following error:

$ make test cd src && make test make[1]: Entering directory /home/johnmerlino/Downloads/redis-stable/src' You need tcl 8.5 or newer in order to run the Redis test make[1]: *** [test] Error 1 make[1]: Leaving directory/home/johnmerlino/Downloads/redis-stable/src' make: *** [test] Error 2

Comment From: badboy

Because you do not have tcl installed. This should be noted in the quickstart page.

Comment From: ghost

You can compile and install without 'tcl' as the documentation says, it is not a dependency, it is only in case you want to run 'make test', so I think it's fine.

Comment From: BlurryFlurry

http://i.imgur.com/uz1F0Nh.png But I still get the error

[root@krnjat18 redis-4.0.1]# yum install tcl tcl-devel -y Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.triple-it.nl * epel: epel.mirror.wearetriple.com * extras: centos.mirror.triple-it.nl * updates: centos.mirror.triple-it.nl Package 1:tcl-8.5.13-8.el7.x86_64 already installed and latest version Package 1:tcl-devel-8.5.13-8.el7.x86_64 already installed and latest version Nothing to do

[root@krnjat18 redis-4.0.1]# make test cd src && make test make[1]: Entering directory '/root/redis-4.0.1/src' You need tcl 8.5 or newer in order to run the Redis test make[1]: *** [test] Error 1 make[1]: Leaving directory '/root/redis-4.0.1/src' make: *** [test] Error 2 [root@krnjat18 redis-4.0.1]#

@badboy

Comment From: badboy

@BlurryFlurry You might still lack the tclsh binary.

Comment From: longxueyuu

Today I have been troubled by this problem for several hours while I did have the tclsh8.5 installed. finally I found the keypoint of the problem. the keypoint is the shell script 'runtest' in the root directory of the redis project, if you do have tclsh8.5 installed, you can run the shell script 'runtest' manually to see if there is problem with the script. because the 'which' command is not installed in my mini centos, so when I run the shell script 'runtest' manually I found the truth behind the problem of 'You need tcl 8.5 or newer in order to run the Redis test'. hope it help someone through it is rarely case!

Comment From: nicks85

I did yum install which and it make test just works fine Thanks a lot its really helpful

Comment From: zwfang

yum install tcl fixed my issue.

Comment From: Jonatas-Moreira

Thank's. It Worked.

Comment From: SwartMamba

1- sudo apt-get remove tk8.4 tcl8.4 (if you have this installed) 2- sudo apt-get install tk8.5 tcl8.5

Comment From: chrisalexander

You only need to install tcl8.5 if you want to avoid a ton of packages from tk8.5

Comment From: ismailaidar

sudo apt-get install tcl

Comment From: PierreC12033

sudo apt install tcl worked for me

Comment From: Nazeeh21

sudo apt-get install tcl this worked for me

Comment From: sajjadjafaribojd

You only need to install tcl package on linux distribution. e.g sudoapt install tclfor debain base destros.

Comment From: kmomuphnie

yum install tcl fixed my issue.

sudo yum install tcl if you r on AWS EC2 lol

Comment From: nothingly

yum install tcl this worked for me,think you

Comment From: SakibFarhad

I had the same issue with docker centos:7.9.2009 but he following solved my issue

yum install -y tcl which

Comment From: henrytien

The error message you're seeing indicates that the Tcl (Tool Command Language) version 8.5 or newer is required to run Redis tests. Tcl is a scripting language used by Redis for its test suite. To resolve this and run the Redis test suite, you need to install Tcl:

  1. Open your terminal.

  2. Run the following command to install Tcl: bash sudo apt-get install tcl

  3. After installation, try running make test again in the Redis source directory.

This should allow you to successfully run the Redis test suite.