在 Ubuntu 上卸载 SecureCRT 的方法取决于你当初是怎么安装的。下面按常见安装方式分别说明。
.deb 包安装的(最常见)dpkg -l | grep securecrt
或
dpkg -l | grep scrt
sudo dpkg -r securecrt
或(如果上面找不到包名)
sudo dpkg -r scrt
如果提示依赖问题,可强制清理:
sudo apt remove --purge securecrt
apt 安装的sudo apt remove --purge securecrt
sudo apt autoremove
这种方式 没有包管理器记录,需要手动删除。
一般安装在:
~/SecureCRT/
或
/opt/SecureCRT/
删除:
sudo rm -rf /opt/SecureCRT
# 或
rm -rf ~/SecureCRT
rm -rf ~/.local/share/applications/securecrt.desktop
sudo rm -rf /usr/share/applications/securecrt.desktop
rm -rf ~/.config/VanDyke
rm -rf ~/.vandyke
sudo apt autoremove
sudo apt autoclean
which SecureCRT
SecureCRT
如果提示 command not found,说明已卸载成功。
rm -rf ~/.config/VanDyke
rm -rf ~/.vandyke
如果你不确定当初是怎么装的,可以把下面命令的输出发给我,我可以帮你精确判断:
ls -l /opt | grep -i secure
ls -l /usr/share/applications | grep -i secure
dpkg -l | grep -i secure