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.
For example, a package installation or upgrade automatically ensures that you have a supported version of PHP. It will be the minimum supported version, and you then have the option of using a different supported version.
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: