Install P4V on Linux

Before installing P4V on Linux, review the following information to understand requirements and limitations, and how to run the installer.

Install P4V

  1. Uncompress the downloaded .tgz file.

    tar xvfz p4v.tgz

    The following new directories are created:

    • p4v-202x.xxxxxx/bin

    • p4v-202x.xxxxxx/lib

  2. (Optional) Add the new directories to your PATH. For example:

    PATH="$PATH:~/Downloads/p4v-2025.3.2828229/bin"

  3. To start P4V, open a terminal window and run p4v.

Install required libraries for P4V on Ubuntu and RHEL systems

Ubuntu 22.04

  1. libxcb-cursor0:

    P4V requires the libxcb-cursor0 library. To install it, run:

    $ sudo apt install libxcb-cursor0

  2. libxcb-xinerama0:

    P4V also depends on the libxcb-xinerama0 package, which provides XCB bindings for multiple monitor support. Sometimes this package is not installed or not properly installed on Ubuntu, which may result in the following error at startup:

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

    To fix this, you can either install or reinstall the package with the following command:

    $ sudo apt install libxcb-xinerama0

    or, to reinstall it:

    $ sudo apt install --reinstall libxcb-xinerama0

RHEL 8.8 and later

  1. Red Hat 8.8 and later::

    For Red Hat 8.8 and later versions, use the following commands to install the necessary packages:

    $ sudo dnf install libglvnd-opengl
    $ sudo dnf install libxcb-xinerama.so.0
    $ sudo dnf install xcb-util-*
  2. Enabling Fedora EPEL on RHEL 8:

    The xcb-util-cursor libraries are missing from the default RHEL 8 repository. To install them, first configure RHEL 8 to use Fedora EPEL (Extra Packages for Enterprise Linux):

    $ sudo subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms

    Then install the Fedora EPEL release:

    $ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

    After updating the repositories, install the required xcb-util-cursor libraries:

    $ sudo dnf install xcb-util-cursor-devel.x86_64

Red Hat 9.2 and later

For Red Hat 9.2 and later, you can install the necessary packages using:

$ sudo dnf install libxcb-xinerama.so.0
$ sudo dnf install xcb-util-*