sudo apt-get purge --auto-remove redis-server # Check if there is any packages left apt list --installed | grep redis
apt-get purge --auto-remove redis-servers # check if the package is present or not apt-cache policy redis-server