How to Install Redis on Debian 11 (Legacy Guide)
Legacy Redis installation notes for Debian 11, whose official LTS ended in August 2026; use a supported release for new deployments.
On this page
Legacy system: Debian 11 “Bullseye” reached the end of Debian Long Term Support on August 31, 2026. Third parties may provide paid Extended LTS, but that is separate from Debian support. Do not use Debian 11 for a new Redis deployment. Follow the official Redis Linux installation guide on a supported operating system instead.
This page preserves a historical APT-based procedure for maintaining an existing Debian 11 host only when its package source is covered by your organization’s support arrangement:
sudo apt update
sudo apt install redis-server
Do not assume these commands will provide current security updates on a standard Debian 11 installation. If APT cannot locate the package or the repository is not covered by your support plan, consult the system administrator; do not add unverified archives or mirrors.
Start and test the service
sudo systemctl enable --now redis-server
sudo systemctl status redis-server
Test the local service with the Redis client:
redis-cli PING
A healthy local server responds with:
PONGSecure the Redis endpoint
Keep Redis accessible only to trusted application hosts. Before allowing remote connections, verify the listening interfaces, authentication or ACL configuration, and firewall rules. Do not expose TCP port 6379 directly to the public internet. See the official Redis security guide.
See Debian’s release lifecycle table for the current support status of Debian releases.