Installation
This topic assumes you have read Linux package-based installation, including its prerequisites.
The P4 Server is divided into multiple packages, so you can install the components you need. The component package names are:
helix-p4d
helix-p4dctl
helix-proxy
helix-broker
helix-cli
The helix-p4d
package installs the main component of a
Perforce
service, p4d
, as well as the command line
interface (p4, which is distributed as helix-cli), the service controller (p4dctl), and a configuration script to set
them up.
At minimum, you need to install the helix-p4d
package.
To install a different package, substitute its name for
helix-p4d
in the commands below.
Package installation requires sudo or root level privileges.
-
Follow the instructions at Perforce Packages.
- For APT (Ubuntu), see "How to Configure APT repositories".
- For YUM (Red Hat Enterprise Linux or CentOS), see "How to Configure YUM repositories".
- For SUSE Linux Enterprise Server, see "How to Configure YUM repositories". You might want to use the zypper equivalent to yum.
-
Install the
helix-p4d
package by running the command for your operating system.-
For Ubuntu:
sudo apt-get install helix-p4d
-
For CentOS or Red Hat Enterprise Linux:
sudo yum install helix-p4d
-
For SUSE Linux Enterprise Server:
sudo zypper install helix-p4d
-
-
Follow the prompts.