Installing PC-lint Plus View

Linux

Before installing PC-lint Plus View on a Linux platform, verify that all prerequisites are met, as described in Prerequisites.

The latest version of PC-lint Plus View installation package can be downloaded from Vector website’s Download Center.

Then proceed with the following:

  1. Extract the installation package into the location where you want to install PC-lint Plus View server. For example:

    tar -xf ~/Downloads/pclpview-25.0.3-linux-x86_64.tar.xz -C /opt/pclpview
  2. Install PC-lint Plus View by executing command:

    <PCLPVIEW_HOME>/bin/install <PCLPVIEW_DATA>

    See install(1) manpage for the full list of options.

Do not run the installation script as root, as this causes the installation of PostgreSQL to fail. And make sure that the user installing and running PC-lint Plus View has read and write access to the necessary locations.

Where <PCLPVIEW_HOME> is the folder containing the application files, usually pclpview-server. And <PCLPVIEW_DATA> is the folder containing data files, usually pclpview-data.

If you use all the default settings, the installer will deploy PC-lint Plus View components in the following locations:

  • The application files in <PCLPVIEW_HOME> folder.

  • The data files in <PCLPVIEW_DATA> folder, where:

    • <PCLPVIEW_DATA>/archive is the default archives directory.

    • <PCLPVIEW_DATA>/backup is the default backup directory.

    • <PCLPVIEW_DATA>/cluster is the database cluster directory.

    • <PCLPVIEW_DATA>/file-repository is the project file repository directory.

    • <PCLPVIEW_DATA>/projects is the project data directory.

    • <PCLPVIEW_DATA>/workspace is the configuration workspace directory.

  • The temporary files in /tmp/pclpview by default.

You can perform the installation even if you do not have a license file. For more information, consult Licensing.

The installation script will allocate a certain amount of memory for the database to run properly on your system. If this is outside the limits of your system, you will get an error message suggesting to, either tune your system (kernel.shmall or kernel.shmax settings) or use the appropriate options to reduce memory requirement.

Windows

Before installing PC-lint Plus View on a Windows platform, verify that all prerequisites are met, as described in Prerequisites.

The latest version of PC-lint Plus View installation package can be downloaded from Vector website’s Download Center.

Then proceed with the following:

  1. Extract the installation package into the location where you want to install PC-lint Plus View server. For example:

    tar -xf %USERPROFILE%\Downloads\pclpview-25.0.3-windows-x86_64.zip -C C:\Vector\PCLPVIEW
  2. Install PC-lint Plus View by executing command:

    <PCLPVIEW_HOME>\bin\start.bat <PCLPVIEW_DATA>

Where <PCLPVIEW_HOME> is the folder containing the application files, usually pclpview-server. And <PCLPVIEW_DATA> is the folder containing data files, usually pclpview-data.

If you use all the default settings, the installer will deploy PC-lint Plus View components in the following locations:

  • The application files in <PCLPVIEW_HOME> folder.

  • The data files in <PCLPVIEW_DATA> folder, where:

    • <PCLPVIEW_DATA>\archive is the default archives directory.

    • <PCLPVIEW_DATA>\backup is the default backup directory.

    • <PCLPVIEW_DATA>\cluster is the database cluster directory.

    • <PCLPVIEW_DATA>\file-repository is the project file repository directory.

    • <PCLPVIEW_DATA>\projects is the project data directory.

    • <PCLPVIEW_DATA>\workspace is the configuration workspace directory.

  • The temporary files in <PCLPVIEW_DATA>\temp by default.

You can perform the installation even if you do not have a license file. For more information, consult Licensing.

Third-Party Plugins and Applications

End users can run third-party static code analysers or rule checkers that are not shipped with the PC-lint Plus View installer for licencing reasons. In this case, it is necessary to download the extra binaries and deploy them on the server.

The list of third party plugins to be downloaded separately is as follows:

  • Checkstyle

  • FindBugs

  • Cppcheck

  • PMD

  • Stylecop

Here is a full example of how to deploy Checkstyle into PC-lint Plus View

  1. Download the Checkstyle binary.

  2. Extract the contents of the zip file onto PC-lint Plus View server.

  3. Copy the bin folder of the extracted content into <PCLPVIEW_HOME>/addons/tools/CheckStyle_auto.

If you have deployed some third-party tools on PC-lint Plus View server, they will automatically be downloaded to your client when you run the PC-lint Plus View agent command line.

For more information, refer to the Command Line Guide, which contains the full details about special installation procedures for Data Providers and Repository Connectors.

Docker

To successfully use the PC-lint Plus View image, make sure you have a container engine like Docker or Podman.

To pull the image and get the instantiation instructions, you can go to the official Vector’s {docker} hub.

All the dependencies required to run both the PC-lint Plus View server and the PostgreSQL database are included in the container.