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

P4 Server Administration Documentation | 2025.1

# Patch the server

To ensure you have the latest fixes, we recommend that you install the latest patch available for your release at the Software Release Index. Patch installation is quick, but does involve P4 Server being stopped briefly.

See the instructions below for your type of installation.

## Linux package

No need to manually stop and restart the P4 Server.

### Version management

If the server has been installed using a package, and you want to prevent unintended upgrades to a higher version, consider pinning or locking the version:

APT policy with Pin |
    more /etc/apt/preferences.d/p4d
    Package: p4-server
    Pin: version 2024.2.*
    Pin-Priority: 1000
Yum with versionlock | See https://www.cyberciti.biz/faq/centos-redhat-fedora-yum-lock-package-version-command/ The --exclude directive allows for wildcards, whereas the yum versionlock command will not allow patch upgrades.

Alternatively, you can install a specific base package in a way that allows the package manager to automatically install the latest patch. For example,

    apt-get install p4-server-base-25.1
    sudo update-alternatives --config p4-server-base-2025.1

If you want to allow for version differences between the p4d servers running on the same Linux host, you can use P4 Server Control (p4dctl) and set the version for each specific server. For example,

- On server1, you might update the execute parameter in the p4dctl config to point to /opt/perforce/sbin/p4d.23.1
- On server2, you might update the execute parameter in the p4dctl config to point to /opt/perforce/sbin/p4d.22.2

Use apt update, then apt upgrade, and the server will restart with the latest patch.

## Linux (or macOS) manual installation

Download the patched version of the P4D executable from the Perforce filehost server.

Stop P4 Server.

Overwrite the existing P4D executable with the patch version.

Start P4 Server.

## Windows

Stop P4 Server.

Go to the filehost server for Perforce and do one of the following:

- download the installer, then run it

- download the patched version of the P4D executable, overwrite the existing P4D executable and copy that to p4s.exe

Start the P4 Server.

## Server Deployment Package (SDP)

See What is the Server Deployment Package (SDP)?.

Your search for returned results