Skip to content

Commit b4420eb

Browse files
committed
DEV: point to GitHub for source downloads
1 parent fc80933 commit b4420eb

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,25 @@ cmake --version
122122

123123
## 4. Download and extract the Redis source
124124

125-
The Redis source code is available from the [Download](https://redis.io/downloads) page. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes git repository](https://github.com/redis/redis-hashes).
125+
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 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).
126126

127127
Copy the tar(1) file to `/usr/src`.
128128

129+
Alternatively, you can download the file directly using the `wget` command, as shown below.
130+
131+
```
132+
cd /usr/src
133+
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
134+
```
135+
136+
Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.
137+
129138
Extract the source:
130139

131140
```bash
132141
cd /usr/src
133-
tar xvf redis.tar.gz
134-
rm redis.tar.gz
142+
tar xvf redis-<version>.tar.gz
143+
rm redis-<version>.tar.gz
135144
```
136145

137146
## 5. Build Redis
@@ -140,7 +149,7 @@ Enable the GCC toolset and build Redis with support for TLS and modules:
140149

141150
```bash
142151
source /etc/profile.d/gcc-toolset-13.sh
143-
cd /usr/src/redis
152+
cd /usr/src/redis-<version>
144153

145154
export BUILD_TLS=yes
146155
export BUILD_WITH_MODULES=yes

0 commit comments

Comments
 (0)