Uninstall Redis after manual Installation
54,813
Go into the folder where you ran sudo make install
and run sudo make uninstall
and that would get rid of it but first you have to stop it see steps below.
Steps:
Stop redis with:
sudo systemctl stop redis sudo systemctl disable redis
Change into install location as per the tutorial link:
cd redis-stable sudo make uninstall
Get rid of the folders created:
sudo rm /etc/redis/redis.conf sudo rm -rf /var/lib/redis
Remove
redis user
:sudo deluser --group redis # OR
Remove
redis group
:sudo delgroup redis
Related videos on Youtube
Author by
yaylitzis
Updated on September 18, 2022Comments
-
yaylitzis over 1 year
I followed this guide to install Redis "How To Install and Configure Redis on Ubuntu 16.04". However, now I want to remove the
Redis
from my server (Ubuntu 16.04
).The command
sudo apt-get purge --auto-remove redis-server
doesn't work as I installed theRedis
manually..How can I uninstall it now?
-
George Udosen over 6 yearsYou did a manual install so
apt-get purge
won't work
-
-
Admin almost 2 yearsredis group still remains, maybe update your answer to include that last piece of information for completeness, otherwise great answer.