Install and configure P4 Code Review from a package (recommended)
We recommend using distribution packages to simplify the installation, configuration, updating, and removal of P4 Code Review because package managers can help avoid dependency issues.
PHP version
To learn which versions of PHP P4 Code Review supports, see PHP. If the system does not have a supported version, a package installation or upgrade automatically ensures that you have the highest supported version. If the system already has a supported version, no change is made to the PHP version. You always have the option of using any supported version.
Package formats and operating systems
P4 Code Review is available in two distribution package formats:
-
Debian (
.deb) for Ubuntu systems -
RPM (
.rpm) for RedHat Enterprise Linux (RHEL) and Rocky Linux
P4 Code Review packages are available for:
- Ubuntu 22.04 LTS, and 24.04 LTS latest stable release.
- RHEL 8 and 9 latest stable release with PHP libraries installed from the Remi repository. See PHP.
- Rocky Linux 8 and 9 latest stable release with PHP libraries installed from the Remi repository. See PHP.
For instructions on installing P4 Code Review from a package: