如何在Ubuntu18上安全地删除和卸载AMPS

如何在Ubuntu18上安全地删除和卸载AMPS,ubuntu,localserver,ampps,Ubuntu,Localserver,Ampps,我使用了ampps,但是我遇到了很多问题,所以我决定删除它,所以我想干净完整地删除t,因为我有Ubuntu18 我试过: sudo apt purge ampps* 我得到: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ampps* E: Couldn't find any package b

我使用了ampps,但是我遇到了很多问题,所以我决定删除它,所以我想干净完整地删除t,因为我有Ubuntu18

我试过:

sudo apt purge ampps*
我得到:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ampps*
E: Couldn't find any package by glob 'ampps*'
E: Couldn't find any package by regex 'ampps*'

无法使用
apt
卸载
ampps
,因为它是使用
ampps-->安装的:ampps安装在固定路径
/usr/local/ampps

要卸载AMPS,请执行以下操作:

sudo pkill ampps
sudo rm -rf /usr/local/ampps

太谢谢你了!