Install and configure P4 Code Review from a package (recommended)

This chapter covers the initial installation and configuration of P4 Code Review from a package. P4 Code Review is available in two distribution package formats: Debian (.deb) for Ubuntu systems and RPM RPM Package Manager. A tool, and package format, for managing the installation, updates, and removal of software packages for Linux distributions such as Red Hat Enterprise Linux, the Fedora Project, and the CentOS Project. (.rpm) for RedHat Enterprise Linux (RHEL), and Amazon Linux 2.

Using distribution packages greatly simplifies the installation, updating, and removal of software, as the tools that manage these packages are aware of the dependencies for each package.

P4 Code Review packages are available for:

  • Ubuntu 22.04 LTS, and 24.04 LTS latest stable release should be used.
  • 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.
  • Amazon Linux 2: latest stable release with PHP libraries installed from Amazon Linux Extras. See PHP.

For instructions on installing P4 Code Review from a package: