uninstall redis code example
Example 1: ubuntu uninstall redis
sudo apt-get purge --auto-remove redis-server
# Check if there is any packages left
apt list --installed | grep redis
Example 2: uninstall redis ubuntu terminal
apt-get purge --auto-remove redis-servers
# check if the package is present or not
apt-cache policy redis-server