search

Home  >  Q&A  >  body text

编译redis时的疑问。

下载了redis得源码tarball,解压后一种传统的编译方式是:

./configure --prefix=/usr/local/redis
make && make install

另一种编译方式是:

meke PREFIX=/usr/local/redis install

请问这两种方式有什么区别么?感觉第二种简单啊。

为情所困为情所困2795 days ago617

reply all(1)I'll reply

  • 漂亮男人

    漂亮男人2017-04-25 09:05:11

    The first is the default installation method, the second is the method of specifying the installation directory, you need to find the correct installation path!

    reply
    0
  • Cancelreply