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 The program that manages the depot files, the metadata associated with those files, as well as the permissions the administrator grants to specific users and groups. (.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: