How to Install Redis on Debian 10 (Legacy Guide)
Legacy Redis installation notes for Debian 10, whose official LTS ended in 2024; use a supported release for new deployments.
On this page
Legacy system: Debian 10 “Buster” reached the end of Debian Long Term Support on June 30, 2024. The Debian project no longer provides LTS security updates for it; some third parties may offer paid extended support. Do not use Debian 10 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 10 host when your organization still provides an approved package source. Package availability and versions depend on that source; these steps do not imply that Debian 10 or its Redis package is currently supported.
Install Redis from an available package source
If the configured APT sources still provide the Redis server package, install it with:
sudo apt install redis-server
If APT cannot locate the package, consult the repository administrator. Do not switch to unverified archives or third-party mirrors for a production server.
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.
For Debian 10’s support status, see the Debian 10 release information.