Bootstrap FreeKB - Redis - Install redis-cli from source
Redis - Install redis-cli from source

Updated:   |  Redis articles

Use the wget command to download the latest stable version of the redis tarball.

wget http://download.redis.io/redis-stable.tar.gz

 

There should now be a file named redis-stable.tar.gz in your present working directory. Use the tar command to extract the redis tarball.

tar xzpf redis-stable.tar.gz

 

There should now be a redis-stable directory in your present working directory. You can now remove the redis-stable.tar.gz file.

rm redis-stable.tar.gz

 

Move into the redis-stable directory.

cd redis-stable

 

Use the make command to install the redis-cli. BUILD_TLS=yes is included so that the --tls flag can be used with the redis-cli to connect to a Redis system that is configured with SSL.

make BUILD_TLS=yes

 

If the install is successful, the redis-cli --version command should return the version of the redis CLI you installled.

~]$ redis-stable/src/redis-cli --version
redis-cli 7.2.4

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter d4faec in the box below so that we can be sure you are a human.