P4 Server Package Install

It is preferred to install P4 Server using the PiExtras package, this P4 package installation description is for informational purposes only

P4 on Redhat 6/7

#As root
 
1. Install the P4 Server repository public key
rpm --import https://package.perforce.com/perforce.pubkey


2. Add Perforce's repository to your YUM configuration.
Create a file called /etc/yum.repos.d/perforce.repo with the following content:

[perforce]
name=Perforce
baseurl=http://package.perforce.com/yum/rhel/7/x86_64
enabled=1
gpgcheck=1
 
3. Install P4
yum install helix-p4d -y

P4 on Debian 8 (Jessie)

#As root
 
1. Install the P4 Server repository public key
wget -qO - https://package.perforce.com/perforce.pubkey |  apt-key add -
 
2. Add the Perforce repository entry to the apt repos
echo "deb http://package.perforce.com/apt/ubuntu trusty release" > /etc/apt/sources.list.d/perforce.list

3. Update the apt index
apt-get update
 
4. Install P4
apt-get install helix-p4d