You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install CMake using `pip3` and link it for system-wide access.
52
+
53
+
{{< warning >}}
54
+
CMake version 3.31.6 is the latest supported version. Newer versions cannot be used.
55
+
{{< /warning>}}
56
+
57
+
```bash
58
+
pip3 install cmake==3.31.6
59
+
sudo ln -sf /usr/local/bin/cmake /usr/bin/cmake
60
+
cmake --version
61
+
```
62
+
63
+
## 3. Download and extract the Redis source
50
64
51
65
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
52
66
@@ -69,7 +83,7 @@ tar xvf redis-<version>.tar.gz
69
83
rm redis-<version>.tar.gz
70
84
```
71
85
72
-
## 3. Build Redis
86
+
## 4. Build Redis
73
87
74
88
Set the appropriate environment variables to enable TLS, modules, and other build options, then compile and install Redis:
75
89
@@ -85,7 +99,7 @@ make -j "$(nproc)" all
85
99
86
100
This builds the Redis server, CLI, and any included modules.
87
101
88
-
## 4. (Optional) Verify the installation
102
+
## 5. (Optional) Verify the installation
89
103
90
104
You can confirm that Redis has been built and installed successfully by checking the version:
91
105
@@ -94,7 +108,7 @@ You can confirm that Redis has been built and installed successfully by checking
0 commit comments