Issue with Redis install “cc: Command not found”

前端 未结 7 2023
眼角桃花
眼角桃花 2021-02-03 22:14

Installing redis is really easy. I have done it on several VM. But on one instance, I am facing the following problem.

[root@server redis-2.4.2]# make
cd src &am         


        
7条回答
  •  隐瞒了意图╮
    2021-02-03 22:55

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

    tar xvzf redis-stable.tar.gz

    cd redis-stable

    sudo apt-get install make

    sudo apt-get install gcc

    sudo apt-get install tcl

    sudo apt-get install build-essential

    sudo apt-get update

    ## if there is another error like "fatal error: jemalloc/jemalloc.h: No such file or directory"

    ## just run "make distclean"

    make

    make test

提交回复
热议问题