Valkey vs Redis on a Linux VPS: What apt and dnf Actually Install
On this pageWhat apt and dnf give you today
- What apt and dnf give you today
- Redis license: AGPLv3 arrives with the 26.04 package
- Valkey vs Redis: pick by release and by how hard your data is to rebuild
- Install Valkey on Ubuntu 24.04 next to Redis
- Migrate Redis to Valkey: what loads where
- Before you switch: keep the last Redis dump
- Lock down Redis or Valkey: protected mode, requirepass and ACL
- Keep Valkey patched on 24.04: the noble-updates gap
- The dnf side: Fedora, RHEL 10, AlmaLinux and Rocky
- What this means for you

Type apt install redis on an Ubuntu 24.04 VPS today and you get Redis 7.0.15 under BSD-3. On Ubuntu 26.04 the same command installs Redis 8.0.5, whose package license reads RSALv2 or SSPLv1 or AGPLv3, and whose dump file both Valkey 7.2 and Valkey 9.0 refuse to load by default.
Valkey is the community fork of Redis that kept the old BSD license, and on Ubuntu each installs with one apt command. Valkey vs Redis on a VPS then depends on your release and on whether your data will ever have to move.
For a fresh Ubuntu 24.04 server both are BSD, and we would pick Valkey. On Ubuntu 26.04 or Debian 13, Redis 8 brings the AGPL option and dump files Valkey refuses by default, so choose it only for a Redis 8 feature you need, knowing the license. Either one keeps its whole dataset in RAM, so size the Linux VPS for the app plus the data. On Fedora or RHEL 10, Valkey is the only packaged choice; see the dnf section.
What apt and dnf give you today
The table shows what each package manager installs as of early December 2026. Rows marked Lab were installed and inspected; rows marked Docs come from package pages read on December 3, 2026 and were not reproduced.
| Release | Redis package | Valkey package | License | Evidence |
|---|---|---|---|---|
| Ubuntu 24.04 LTS | redis-server 7.0.15, universe | valkey-server 7.2.14 in noble-updates, 7.2.12 in noble-security, universe; valkey-redis-compat migrates and removes Redis | Both BSD-3-clause in the main stanza (package copyright files) | Lab |
| Ubuntu 26.04 LTS | redis-server 8.0.5, universe | valkey-server 9.0.6 in resolute-updates, main | Redis: RSALv2 or SSPLv1 or AGPLv3; Valkey: BSD-3-clause (main stanza of the package copyright files) | Lab |
| Debian 12 | redis 7.0.15 | Only in bookworm-backports, 8.0.1 | Upstream Redis 7.0: BSD-3; Valkey: BSD-3 | Docs: Debian package tracker |
| Debian 13 | redis 8.0.2 | valkey 8.1.1 | Upstream Redis 8.0: RSALv2, SSPLv1 or AGPLv3; Valkey: BSD-3 | Docs: Debian package tracker |
| Fedora 43 / 44 / 45 | None; replaced by Valkey since Fedora 41, with a valkey-compat-redis subpackage | valkey 8.1.12 / 9.0.8 / 9.1.4 | Valkey: BSD-3 | Docs: Fedora Packages |
| RHEL 10 | Not included | valkey, which Red Hat recommends migrating to | Valkey: BSD-3 | Docs: Red Hat |
| RHEL 9.7 | Not checked | valkey, part of RHEL as of 9.7 | Valkey: BSD-3 | Docs: EPEL 9 retirement notice |
Every Lab row and output block below was reproduced on 2026-12-03. The Ubuntu 24.04 runs used a test container with the Ubuntu-archive packages valkey-server 7.2.14 and redis-server 7.0.15. The Ubuntu 26.04 runs used a chroot with valkey-server 9.0.6 and redis-server 8.0.5, and in both runs the servers were started by hand, not via systemd. The test data was 1,007 keys of all seven basic types, 1,001 of them with a TTL.
apt install valkey works on both Ubuntu releases through valkey-server’s Provides: valkey, although no package has that name. Valkey 9.2 and Redis 8.12, the newest upstream releases, are in no Ubuntu pocket. Upstream security support for Redis 8.0 ended on December 1, 2026, yet Ubuntu 26.04 and Debian 13 have shipped security updates for their 8.0 packages, Ubuntu on October 1, 2026. That is the same split as with Ubuntu’s MySQL 8.0 after Oracle’s end of life; the distribution’s security team decides when you get fixes.
Redis license: AGPLv3 arrives with the 26.04 package
The license that applies is the one inside the package you installed, and it follows the Redis version. Per the Redis release and license table on endoflife.date, 7.2 and earlier are BSD-3-clause and 7.4 through 7.8 are RSALv2 or SSPLv1. From 8.0 on, AGPLv3 is a third option.
Ubuntu writes the license into /usr/share/doc/redis-server/copyright. On 24.04 the redis-server 7.0.15 file lists License: BSD-3-clause for Redis’s own files (Files: *); a few stanzas are BSD-2-clause and the bundled Lua is MIT. On 26.04 the 8.0.5 package says this:
$ sed -n '1,14p' /usr/share/doc/redis-server/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Salvatore Sanfilippo <antirez@gmail.com>
Upstream-Name: redis
Source: https://github.com/redis/redis
Files: *
Copyright:
© 2016-2025, Redis Ltd.
© 2024-2025, Valkey contributors
License:
Licensed under your choice of (a) the Redis Source Available License 2.0
(RSALv2); or (b) the Server Side Public License v1 (SSPLv1); or (c) the
GNU Affero General Public License v3 (AGPLv3).
Valkey’s copyright file says BSD-3-clause in its main stanza on both releases, for 7.2.14 and for 9.0.6. AGPLv3 is an OSI-approved open-source license; RSALv2 and SSPLv1 are not.
Each of the three Redis options asks something different of you if you modify Redis, ship it in a product or offer it as a hosted service. In those cases, have counsel read the file before you standardize on Redis 8.
Valkey vs Redis: pick by release and by how hard your data is to rebuild
For a new server we pick Valkey on every release in the table, with one exception for Redis 8.
- Ubuntu 24.04, or Debian 12 with Valkey from backports: both packages are BSD, and a Redis 7.0.15 dump loads into Valkey 7.2.14 and 9.0.6 with keys, TTLs and streams intact. On a new 24.04 VPS we would install Valkey and take its security builds from noble-updates, as the patching section explains. Upstream maintains 7.2 until April 16, 2027 and fixes security issues to April 16, 2029 (endoflife.date); 26.04 moves Valkey to main, which Canonical maintains itself. The cost is the way back: Redis 7.0.15 cannot read what Valkey 7.2 writes.
- On Ubuntu 26.04 or Debian 13, run Redis 8 only if your application needs a Redis 8 feature that the Valkey next to it lacks. Per-field expiry on hashes (HEXPIRE) is such a gap only on Debian 13’s Valkey 8.1.1. Valkey 9.0 added it, and the lab’s 9.0.6 replica kept a field TTL set on Redis 8.0.5. With Redis 8 you accept the tri-license and a dump format that Valkey 9.0.6 refused by default in the lab.
- If Redis 7.0 already runs on 24.04 and works, there is no deadline: its changelog has a noble-security entry dated October 1, 2026.
- If Redis holds only cache entries or sessions you can lose, skip data migration and start Valkey empty.
When Valkey serves one app on the same machine, leave it on loopback. Hostry KVM VPS plans let you scale resources up later if the dataset outgrows memory.
Install Valkey on Ubuntu 24.04 next to Redis
Both packages install side by side on 24.04 and 26.04, each with its own user, directories and systemd unit, both enabled for boot. They share the default port, 6379.
sudo apt update
sudo apt install valkey-server
Valkey uses /etc/valkey/valkey.conf and /var/lib/valkey; Redis keeps /etc/redis/redis.conf and /var/lib/redis. Installing valkey-server adds no redis-cli link to valkey-cli, though each client talks to either server. The link comes with valkey-redis-compat, which removes redis-server, so skip it while both run. The first server to start takes the port; in the lab Redis won, and Valkey logged:
1258:M 03 Dec 2026 11:31:41.762 * Running mode=standalone, port=6379.
1258:M 03 Dec 2026 11:31:41.762 # Warning: Could not create server TCP listening socket 127.0.0.1:6379: bind: Address already in use
1258:M 03 Dec 2026 11:31:41.762 # Failed listening on port 6379 (tcp), aborting.
The same race is expected at boot under systemd; that ordering was not reproduced. Give Valkey its own port while both run:
sudo sed -i 's/^port 6379$/port 6380/' /etc/valkey/valkey.conf
sudo systemctl restart valkey-server
sudo ss -ltnp | grep -E ':63(79|80) '
In the lab Valkey was started by hand with –port 6380 instead of these two commands. The container had no IPv6; a VPS also lists the [::1] sockets:
LISTEN 0 511 127.0.0.1:6380 0.0.0.0:* users:(("valkey-server",pid=1370,fd=6))
LISTEN 0 511 127.0.0.1:6379 0.0.0.0:* users:(("redis-server",pid=1243,fd=6))
Do not trust valkey-cli –version for patch level: on 24.04 it prints valkey-cli 7.2.4 while the server is 7.2.14. The server reports both numbers:
$ valkey-cli -p 6380 INFO server | grep -E "^(redis_version|valkey_version|server_name)"
redis_version:7.2.4
server_name:valkey
valkey_version:7.2.14
Valkey 9.0.6 also reports redis_version:7.2.4, for client compatibility. As with a version string that stays the same across nginx security fixes, the package version from apt-cache policy tells you which fixes you have.
Migrate Redis to Valkey: what loads where
To migrate Redis to Valkey by file, you copy the RDB file, the binary snapshot both servers save as dump.rdb. The new server must understand the format version in the file’s first bytes, and each packaged server writes a different one (the file exists once a server has saved):
sudo od -A d -c -N 16 /var/lib/redis/dump.rdb | head -1
sudo od -A d -c -N 16 /var/lib/valkey/dump.rdb | head -1
The lab ran the same check over its own copies of the four dumps:
/srv/lab-valkey/d/redis70/dump.rdb
0000000 R E D I S 0 0 1 0 372 \t r e d i s
/srv/lab-valkey/d/valkey72/dump.rdb
0000000 R E D I S 0 0 1 1 372 \n v a l k e
/srv/lab-valkey/resolute-test/srv/d/redis80/dump.rdb
0000000 R E D I S 0 0 1 2 372 \t r e d i s
/srv/lab-valkey/resolute-test/srv/d/valkey90/dump.rdb
0000000 V A L K E Y 0 8 0 372 \n v a l k e
That is RDB 10, 11 and 12, and a VALKEY080 header from Valkey 9.0.6. Each dump was then loaded in a fresh directory with AOF and saving off. The results cover the basic-type dataset described above; data from modules such as JSON or search was not tested.
| Dump from \ loaded by | Redis 7.0.15 | Valkey 7.2.14 | Redis 8.0.5 | Valkey 9.0.6 |
|---|---|---|---|---|
| Redis 7.0.15 (RDB 10) | (source) | Loads | Not run | Loads |
| Valkey 7.2.14 (RDB 11) | Refused, version 11 | (source) | Loads | Loads |
| Redis 8.0.5 (RDB 12) | Refused, version 12 | Refused, version 12 | (source) | Refused by default; loads with rdb-version-check relaxed |
| Valkey 9.0.6 (VALKEY080) | Not run | Refused, wrong signature | Refused, wrong signature | (source) |
Valkey 9.0.6 from the same 26.04 archive refused the Redis 8.0.5 dump as well:
* Valkey version=9.0.6, bits=64, commit=00000000, modified=0, pid=20739, just started
* Configuration loaded
* Running mode=standalone, port=7202.
[...]
# Can't handle RDB format version 12
# Fatal error loading the DB, check server logs. Exiting.
Once Valkey 9.0 has saved your data, a file copy cannot take it back to Redis 8.0 or Valkey 7.2 (Wrong signature trying to load DB from file). Redis 8 data needs the relaxed check or a plain-command AOF, both covered next. This run only saw Redis 8.0.5 write version 12, and the Valkey migration guide says data files from Redis Community Edition 7.4 and later are not compatible in general.

Redis 8 into Valkey 9: the relaxed check and where it stops
Valkey 9.0 has a setting, rdb-version-check, that defaults to strict. Set to relaxed, it loads a newer format on a best-effort basis and aborts on anything unknown. Valkey 7.2 has no such option. With the plain test data, relaxed mode loaded the Redis 8.0.5 dump in full:
* Loading RDB produced by Redis version 8.0.5
* RDB age 63 seconds
* RDB memory usage when created 1.09 Mb
* Done loading RDB, keys loaded: 1007, keys expired: 0.
* DB loaded from disk: 0.001 seconds
* Ready to accept connections tcp
dbsize: 1007
keys_with_ttl: expires=1001
Then one hash on the Redis side got a TTL on a single field (HEXPIRE demo:hfe 3600 FIELDS 1 f1), and that key alone stopped the load:
* Loading RDB produced by Redis version 8.0.5
* RDB age 7 seconds
* RDB memory usage when created 1.21 Mb
# Can't handle foreign type or opcode 25 in RDB with version 12
# Fatal error loading the DB, check server logs. Exiting.
Replication from Redis 8.0.5 hit the same wall, since the first sync is an RDB transfer. In the lab, the link came up after two changes made together: the field-TTL hash was deleted on the master and the Valkey 9.0.6 replica was set to relaxed. If your app uses HEXPIRE, you know which key patterns carry field TTLs; re-create those keys after the move and set the option back to strict. To check one field, redis-cli HTTL <key> FIELDS 1 <field> returns the seconds left, or -1 when the field has no TTL (redis.io command reference).
AOF files carry the same problem
AOF, the append-only file, is a log of write commands kept alongside or instead of the snapshot. Redis 8 starts it with an RDB preamble by default (aof-use-rdb-preamble yes), so a copied AOF directory fails the same way:
* Reading RDB base file on AOF loading...
# Can't handle RDB format version 12
# Error reading the RDB base file appendonly.aof.2.base.rdb, AOF loading aborted
Rewriting the AOF on Redis as plain commands, a workaround also suggested in Valkey’s issue tracker, moved the data. Redis must already run with appendonly yes (on a live server, redis-cli CONFIG SET appendonly yes turns it on). Both lab runs, 24.04 and 26.04, started the servers by hand rather than with systemctl:
redis-cli CONFIG SET aof-use-rdb-preamble no
redis-cli BGREWRITEAOF
redis-cli INFO persistence | grep aof_rewrite_in_progress # wait for 0
sudo systemctl stop redis-server valkey-server
sudo systemctl disable redis-server
sudo cp -r /var/lib/redis/appendonlydir /var/lib/valkey/
sudo chown -R valkey:valkey /var/lib/valkey/appendonlydir
sudo sed -i 's/^appendonly no$/appendonly yes/' /etc/valkey/valkey.conf
sudo systemctl start valkey-server
Valkey 9.0.6 then loaded all 1,007 keys in strict mode. The text base file was 90.7 KB against 24 KB in RDB form.
If appendonly yes is set when Valkey first starts on a copied dump.rdb, it ignores the file and starts empty. In the lab, the next SAVE then replaced the 24,315-byte dump with a 90-byte one. Both packaged configs ship appendonly no; keep it until the data is in.
Before you switch: keep the last Redis dump
Moving from Redis 7.0 to Valkey takes one file copy, but in the lab the way back failed. The Redis 7.0.15 from the same 24.04 archive could not load Valkey 7.2.14’s dump:
# Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=20803, just started
# Configuration loaded
[...]
* Running mode=standalone, port=7204.
# Can't handle RDB format version 11
# Fatal error loading the DB: Invalid argument. Exiting.
The last dump Redis wrote is your rollback, so keep it, named with its version. It restores the state at cutover only: anything written to Valkey later is not in it, so decide on rollback before the app writes to Valkey. To move a 24.04 server to Valkey on port 6379 (the lab skipped steps 1 and 2):
- If you moved Valkey to 6380, set it back without restarting: sudo sed -i ‘s/^port 6380$/port 6379/’ /etc/valkey/valkey.conf.
- Check that sudo grep -n ‘^appendonly’ /etc/valkey/valkey.conf shows appendonly no for the first start (see the AOF trap).
- Stop the app’s writes before SAVE.
- Run the block below. It stops Redis and Valkey before the copy, since a running server can save its own empty dataset over the file on shutdown.
redis-cli SAVE
sudo cp /var/lib/redis/dump.rdb /root/dump-redis-7.0.15-before-valkey.rdb
sudo systemctl stop valkey-server redis-server
sudo systemctl disable redis-server
sudo cp /var/lib/redis/dump.rdb /var/lib/valkey/dump.rdb
sudo chown valkey:valkey /var/lib/valkey/dump.rdb
sudo systemctl start valkey-server
valkey-cli DBSIZE
valkey-cli INFO server | grep -E '^(valkey_version|tcp_port|config_file)'
The lab did the same copy and chown with both servers started by hand, not through systemctl. Valkey then reported:
1007
valkey_version:7.2.14
tcp_port:6379
config_file:/etc/valkey/valkey.conf
Add –askpass to the redis-cli line if Redis has a password. Keep the chown step. A plain sudo cp to a new file leaves it owned by root (onto an existing Valkey dump it keeps that file’s owner), and cp -p or rsync -a keep the redis owner; with the units’ UMask=007, a dump Redis writes is mode 660. The valkey user cannot read any of these; the lab simulated the unreadable case with chmod 640:
# Fatal error: can't open the RDB file dump.rdb for reading: Permission denied
# Fatal error loading the DB, check server logs. Exiting.
The one-command route on 24.04: valkey-redis-compat
Ubuntu 24.04 also has a package that switches for you. apt install valkey-redis-compat removes redis-server and links redis-cli, redis-benchmark and the two check tools to their Valkey versions, with no redis-server link. It copies redis.conf to valkey.conf with every “redis” replaced by “valkey”, copies the data into /var/lib/valkey and renames the old directory to /var/lib/redis-old. It also creates /etc/valkey/REDIS_MIGRATION, and valkey-server.service will not start until you delete that file (read from the unit file, not run under systemd).
sudo apt install valkey-redis-compat
Setting up valkey-redis-compat (7.2.14+dfsg1-0ubuntu0.1) ...
[...]
[I] /etc/redis/redis.conf has been copied to /etc/valkey/valkey.conf. Please, review the content of valkey.conf, especially if you had modified redis.conf.
[I] On-disk redis dumps copied from /var/lib/redis/ to /var/lib/valkey, and moved to /var/lib/redis-old.
The search and replace also reaches passwords. In the lab, requirepass redisRocks-42 came out as valkeyRocks-42:
$ grep -nE '^(user |requirepass|aclfile)' /etc/valkey/valkey.conf | sed -E 's/#[0-9a-f]{64}/#<sha256>/'
2279:requirepass "valkeyRocks-42"
2283:user default on #<sha256> ~* &* +@all
Started by hand from the migrated config, Valkey loaded all 1,009 keys. Because the file still held the user default line from an earlier CONFIG REWRITE, the old password kept working and the one now in the file failed with WRONGPASS. Without that line the old password was rejected, locking out every client still using it. Ubuntu 26.04 has no such package (archive indexes, December 3, 2026).
Review those lines before you remove the flag file and start Valkey (a re-check ran all three with Valkey started by hand, not through systemd):
sudo grep -nE '^(user |requirepass|aclfile)' /etc/valkey/valkey.conf
sudo rm /etc/valkey/REDIS_MIGRATION
sudo systemctl start valkey-server
Or replicate, then promote
Replication shortens the write stop: Valkey runs as a read-only copy of the live Redis until you promote it. From Redis 7.0.15 to Valkey 7.2.14 this worked in the lab, with Valkey on 6380 below. If Redis has a password, put it in /etc/valkey/valkey.conf as masterauth (use your own Redis password) and restart Valkey; the lab passed the same setting as a startup option. valkey-cli -p 6380 CONFIG SET masterauth with the password, then valkey-cli -p 6380 CONFIG REWRITE, avoids the restart; a re-check brought the link up that way:
masterauth "REDIS-PASSWORD-GOES-HERE"
valkey-cli -p 6380 REPLICAOF 127.0.0.1 6379
sleep 10
valkey-cli -p 6380 INFO replication | grep -E '^(role|master_link_status|master_sync_in_progress|slave_read_only)'
role:slave
master_link_status:up
master_sync_in_progress:0
slave_read_only:1
The replica is ready when master_link_status:up and master_sync_in_progress:0 appear, as in the block above. Without masterauth, the lab replica looped on MASTER aborted replication with an error: NOAUTH Authentication required. A later attempt promoted the replica inside Redis’s 5-second wait before a diskless sync (repl-diskless-sync-delay 5), which cut the transfer; waiting 8 seconds fixed it.
To switch, stop the app’s writes to Redis, run valkey-cli -p 6380 REPLICAOF NO ONE and check for role:master. Only then point the app at Valkey, because until it is promoted the replica rejects writes with READONLY. Remove the masterauth line afterwards, and the replicaof line too if a CONFIG REWRITE ran while Valkey was still a replica. If the app expects 6379, stop Redis, change Valkey’s port line to 6379 and restart it; the lab stopped before that port move.
Lock down Redis or Valkey: protected mode, requirepass and ACL
Both Ubuntu packages listen only on loopback (bind 127.0.0.1 -::1), keep protected mode on and set no password. Protected mode is a safety catch that makes a passwordless server refuse clients from other machines. For an app on the same VPS that is already safe; the traps come with passwords and users.
Guides that say “all interfaces” describe the binary started without a config file (* -::*). Protected mode then answers outside clients like this on all four versions; Valkey 9.0 drops the word Redis:
DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user. In this mode connections are only accepted from the loopback interface. [...]
The commands below assume Valkey owns 6379 after the cutover; while both servers run, add -p 6380. A password set with CONFIG SET works at once and is gone after a restart unless you also run CONFIG REWRITE. Store the generated value in your password manager:
PASS=$(openssl rand -hex 24); echo "$PASS"
valkey-cli CONFIG SET requirepass "$PASS"
valkey-cli --askpass CONFIG REWRITE
Without the rewrite, Valkey 7.2.14 answered PONG to an anonymous client after a restart. With it, the file gained the password in plain text plus a user default line with a SHA-256 hash (lab values):
$ grep -n '^requirepass\|^# Generated by CONFIG REWRITE\|^user ' /etc/valkey/valkey.conf
2285:# Generated by CONFIG REWRITE
2286:requirepass "lab-Default-pass-91ad"
2291:user default on sanitize-payload #71633ec2b51d0a85c8e2e3e6bcce14a1fe5eafaa7b0a3bd2b1bcecdd3e999853 ~* &* +@all
For an application, an ACL user, a named account with its own key patterns and command rights, is the better fit. This one is limited to keys under cache::
APP_PASS=$(openssl rand -hex 24); echo "$APP_PASS"
valkey-cli --askpass ACL SETUSER cacheapp on ">$APP_PASS" '~cache:*' '+@read' '+@write' '-@dangerous'
valkey-cli --askpass CONFIG REWRITE
As cacheapp, the lab got NOPERM for FLUSHALL, CONFIG GET, KEYS and keys outside cache:. ACL users vanish on restart unless saved, by CONFIG REWRITE as in the block or, with an aclfile, by ACL SAVE, and only one of the two. With users already in the config and an aclfile line added, Valkey 7.2.14 refused to start:
21609:M 03 Dec 2026 11:44:29.749 # Configuring Redis with users defined in redis.conf and at the same setting an ACL file path is invalid. This setup is very likely to lead to configuration errors and security holes, please define either an ACL file or declare users directly in your redis.conf, but not both.
Remove the user and requirepass lines before switching to an ACL file. If an app on another server must connect, bind a private address and open 6379 only to that client, on top of the SSH and UFW baseline for a fresh server.
Keep Valkey patched on 24.04: the noble-updates gap
Ubuntu ships updates through pockets, separate channels such as noble-security and noble-updates. As of early December 2026 the Valkey build with the newest security fixes is only in noble-updates. Stock automatic updates do not install from that pocket, so a server that relies on them stays on 7.2.12.
$ apt-cache policy valkey-server
valkey-server:
Installed: 7.2.14+dfsg1-0ubuntu0.1
Candidate: 7.2.14+dfsg1-0ubuntu0.1
Version table:
*** 7.2.14+dfsg1-0ubuntu0.1 500
500 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
100 /var/lib/dpkg/status
7.2.12+dfsg1-0ubuntu0.1 500
500 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages
The 7.2.13 and 7.2.14 changelog entries list five CVE fixes that 7.2.12 lacks; these are the newest two:
$ zcat /usr/share/doc/valkey-server/changelog.Debian.gz | head -40
valkey (7.2.14+dfsg1-0ubuntu0.1) noble; urgency=medium
* New upstream version 7.2.14 (LP: #2153491)
- Security fixes:
+ CVE-2026-56684: Use-after-free in TLS connection handling via
CLIENT KILL.
+ CVE-2026-63639: Reject corrupt stream RDB with shared NACK across
consumers.
[...]
With Valkey downgraded to the 7.2.12 build from noble-security, an unattended-upgrade dry run with the default config skipped it, while apt offered the newer build:
Allowed origins are: o=Ubuntu,a=noble, o=Ubuntu,a=noble-security, o=UbuntuESMApps,a=noble-apps-security, o=UbuntuESM,a=noble-infra-security
[...]
valkey-server/noble-updates 7.2.14+dfsg1-0ubuntu0.1 amd64 [upgradable from: 7.2.12+dfsg1-0ubuntu0.1]
valkey-tools/noble-updates 7.2.14+dfsg1-0ubuntu0.1 amd64 [upgradable from: 7.2.12+dfsg1-0ubuntu0.1]
Upgrade the two packages by hand and restart the service:
sudo apt install --only-upgrade valkey-server valkey-tools
sudo systemctl restart valkey-server
The wider fix is to uncomment the “${distro_id}:${distro_codename}-updates”; line in the unattended-upgrades config (the 50unattended-upgrades file under apt.conf.d), which auto-installs every stable update. On 26.04 the lag is the same (9.0.6 in resolute-updates, 9.0.4 in resolute-security); apt-cache policy shows where it stands.
The dnf side: Fedora, RHEL 10, AlmaLinux and Rocky
On Fedora and current RHEL the Valkey vs Redis choice is already made, since Valkey replaces Redis in the main repositories. Nothing here was reproduced; it comes from Fedora and Red Hat documentation read on December 3, 2026.
Fedora dropped its redis package for Valkey in Fedora 41. The Fedora change proposal to replace Redis with Valkey describes a compat package that obsoletes redis and ports configuration and data for common setups. Fedora Packages lists it as valkey-compat-redis, the counterpart of Ubuntu 24.04’s valkey-redis-compat, next to valkey 8.1.12 on Fedora 43, 9.0.8 on 44 and 9.1.4 on 45. Fedora Magazine’s guide to moving from Redis to Valkey uses one command, with –allowerasing so dnf can remove Redis:
sudo dnf install valkey-compat-redis --allowerasing
Red Hat’s RHEL 10 adoption notes list redis among packages no longer included and recommend the valkey package. RHEL 9 gained Valkey in 9.7. AlmaLinux and Rocky Linux rebuild RHEL; we did not check their repositories. In a September 2025 AlmaLinux forum thread, dnf install redis on AlmaLinux 10 found nothing until the Devel repository was enabled, and then installed valkey-compat-redis.
What this means for you
Your next Valkey vs Redis step depends on where you start:
- New install on 24.04: apt install valkey-server, then take its updates from noble-updates.
- Redis 7.0 already on 24.04: nothing forces a move. Run apt-cache policy valkey-server redis-server plus a look at the copyright file, and keep a copy of the dump before any switch.
- Redis 8 on 26.04 or Debian 13: a later switch means a relaxed load, a plain-command AOF rewrite or a rebuild; test it on a copy.
- Fedora or RHEL 10: Valkey is what dnf installs; read the first bytes of any dump that comes from another host.