Redis - linux / Error when Installing redis on linux: `cc: command not found` Redis - linux / Error when Installing redis on linux: `cc: command not found` linux linux

Redis - linux / Error when Installing redis on linux: `cc: command not found`


You are trying to install redis from source code. What this process do is to compile and create executable on your machine and then install it. For doing this you need various tools like gcc etc. Best way is to install all of them together by installing that group. Run this from terminal

yum grouplist 

This will show all groups available and then choose group you want to install or run directly

yum groupinstall 'Development Tools'

This will save you from other problems which might come in future while installing from source.


for those of you who encounter this error

check this github issue

before make run this command

$ cd deps; make hiredis lua jemalloc linenoise


Install build essential first

sudo apt-get install build-essential

then install the dependencies

cd deps

make hiredis lua jemalloc linenoise