Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2025.1

# 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:

- `p4-server`
- `p4-server-control`
- `p4-proxy`
- `p4-broker`
- `p4-cli`

The `p4-server` package installs the main component of a P4 service, `p4d`, as well as the command line interface (p4, which is distributed as p4-cli), the service controller (p4dctl), and a configuration script to set them up.

At minimum, you need to install the `p4-server` package. To install a different package, substitute its name for `p4-server` in the commands below.

Package installation requires sudo or root level privileges.

14 August 2023 is the expiration date of the P4 packaging key, but this key has been renewed until 11 June 2026 UTC. Package managers do not allow installation with an expired key. To ensure you have the renewed key, follow the instructions at Perforce Packages.

1. 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.

2. Install the `p4-server` package by running the command for your operating system.

   - For Ubuntu:

         sudo apt-get install p4-server

   - For CentOS or Red Hat Enterprise Linux:

         sudo yum install p4-server

   - For SUSE Linux Enterprise Server:

         sudo zypper install p4-server

3. Follow the prompts.

4. See Post-installation configuration.

Your search for returned results