clickhouse rpm卸载

1.查询clickhouse依赖包

sudo yum list installed | grep clickhouse

2.移除依赖包

sudo yum remove -y xxx

3.确认是否卸载干净

sudo yum list installed | grep clickhouse 

4.删除配置文件

rm -rf /var/lib/clickhouse
rm -rf /etc/clickhouse-*
rm -rf /var/log/clickhouse-server

附:强制安装命令

rpm -ivh *.rpm --force --nodeps

你可能感兴趣的:(clickhouse,服务器,linux)