我有Windows 10 (Home)
,并且已经安装了Ubuntu 18.04
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
在2018年,我已手动安装redis-4.0.10
主要是 :
我可以安心启动服务器并停止它。
现在我已经更新了redis
,因此我再次安装并安装了redis-5.0.5
,主要是 至
注意:我可以安心启动服务器并停止它。我已经确认使用了新版本。
因此,在我的自定义redis
目录中,我具有:
ls
redis-4.0.10 redis-4.0.10.tar.gz redis-5.0.5 redis-5.0.5.tar.gz
现在我要卸载redis-4.0.10
我读过:
如果执行了redis-4.0.10
,则会在sudo make uninstall
目录中
sudo make uninstall
[sudo] password for manueljordan:
cd src && make uninstall
make[1]: Entering directory '/home/manueljordan/redis/redis-4.0.10/src'
make[1]: *** No rule to make target 'uninstall'. Stop.
make[1]: Leaving directory '/home/manueljordan/redis/redis-4.0.10/src'
Makefile:6: recipe for target 'uninstall' failed
make: *** [uninstall] Error 2
在使用*** No rule to make target 'uninstall'. Stop.
模式的Google中,我到达了:
因此,我执行了make clean
make clean
cd src && make clean
make[1]: Entering directory '/home/manueljordan/redis/redis-4.0.10/src'
rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-rdb redis-check-aof *.o *.gcda *.gcno *.gcov redis.info lcov-html Makefile.dep dict-benchmark
make[1]: Leaving directory '/home/manueljordan/redis/redis-4.0.10/src'
再次使用sudo make uninstall
sudo make uninstall
[sudo] password for manueljordan:
cd src && make uninstall
make[1]: Entering directory '/home/manueljordan/redis/redis-4.0.10/src'
CC Makefile.dep
make[1]: *** No rule to make target 'uninstall'. Stop.
make[1]: Leaving directory '/home/manueljordan/redis/redis-4.0.10/src'
Makefile:6: recipe for target 'uninstall' failed
make: *** [uninstall] Error 2
该怎么办?我的目标是卸载此redis
版本4.0.10
,然后和平删除redis-4.0.10
目录