Ubuntu – How to sucessfully install redis-server, “tclsh8.5 not found” error

software installation

How to successfully install redis-server on Ubuntu 11.04 .. I'm getting some Error! I wanted to install the current stable redis on Ubuntu 11.04

I see that in apt-repository the latest they have is

Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Chris Lamb <lamby@debian.org> Architecture: i386   
Source: redis Version: 2:2.0.1-2 Depends: libc6 (>= 2.7), adduser
Filename: pool/universe/r/redis/redis-server_2.0.1-2_i386.deb

uname -a

 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386      GNU/Linux

Install Procedure

$ wget http://redis.googlecode.com/files/redis-2.2.12.tar.gz
$ tar xzf redis-2.2.12.tar.gz
$ cd redis-2.2.12
$ make

Error

cd src && make test
make[1]: Entering directory `/home/<username>/redis-2.2.12/src'
(cd ..; tclsh8.5 tests/test_helper.tcl --tags "" --file "")
/bin/sh: tclsh8.5: not found
make[1]: *** [test] Error 127
make[1]: Leaving directory `/home/<usernam>/redis-2.2.12/src'
make: *** [test] Error 2

Best Answer

It is a common error that shows up when you did not install tcl8.5 (source).

You need to install tcl8.5

sudo apt-get install -y tcl