如何在 Ubuntu 11.04 上成功安装 redis-server。我遇到了一些错误!我想在 Ubuntu 11.04 上安装当前稳定的 redis
我看到 apt-repository 中最新的是
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Chris Lamb <[email protected]> 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
安装程序
$ 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
错误
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
答案1
答案2
你必须安装 tcl
$ sudo apt-get install tcl8.5
安装完成后进行测试
$ make test