uninstall redis ubuntu terminal

apt-get purge --auto-remove redis-servers
# check if the package is present or not
apt-cache policy redis-server 
Elated Eagle