Add the Perforce packaging key to your APT keyring
wget -qO - https://package.perforce.com/perforce.pubkey | sudo apt-key add -
Add the Perforce repository to your APT configuration.
Create a file called /etc/apt/sources.list.d/perforce.list with the following line:
deb http://package.perforce.com/apt/ubuntu {distro} release
Where {distro} is replaced by one of the following: precise, trusty, xenial or bionic.
Run sudo apt-get update
Install the package by running sudo apt-get install helix-p4d
安装后,运行
sudo /opt/perforce/sbin/configure-helix-p4d.sh