如何在 Ubuntu 上删除 perforce (p4)

How to remove perforce (p4) on Ubuntu

我在 Ubuntu 18.4 上安装了 perforce p4。我使用以下错误顺序破坏了它!

sudo apt-get remove helix-p4d
sudo apt-get purge helix-p4d
sudo apt autoremove
sudo rm /etc/perforce
sudo rm /opt/perforce

然后我使用

再次安装了它
sudo apt-get install helix-p4d

但是,安装后出现以下错误:

p4dctl error: fopen: /etc/perforce/p4dctl.conf: No such file or directory

我的问题是,如何才能完全删除 p4 及其所有服务并从头开始重新安装所有内容。

同时做:

sudo apt-get remove helix-p4dctl
sudo apt-get purge helix-p4dctl

这将解决缺少 file/directory 的问题,您可以重新安装。