在 Debian 上“卸载 cximage”要看你当初是怎么安装的,不同方式卸载方法不一样。
dpkg -l | grep cximage
或者
apt list --installed | grep cximage
sudo apt remove cximage
如果也想删除配置文件:
sudo apt purge cximage
sudo apt autoremove
cximage 很多时候是源码编译,没有 apt 包。
进入当时编译的源码目录:
sudo make uninstall
只能手动删文件,例如:
sudo rm -f /usr/local/lib/libcximage*
sudo rm -rf /usr/local/include/cximage
如果装到了 /usr:
sudo rm -f /usr/lib/libcximage*
sudo rm -rf /usr/include/cximage
有时只是删不掉,因为是别的程序依赖的,可以先查:
apt-cache rdepends cximage
ldconfig -p | grep cximage
或
find / -name "*cximage*" 2>/dev/null
如果你能告诉我:
我可以给你精确的卸载命令。