Installing and updating PVS-Studio on Linux

PVS-Studio is distributed as Deb/Rpm packages or an archive. Using the installation from the repository, you will be able to receive updates about the release of a new version of the program.

The distribution kit includes the following files:

  • pvs-studio - the kernel of the analyzer;
  • pvs-studio-analyzer - a utility for checking projects without integration;
  • plog-converter - a utility for converting the analyzer report to different formats;

You can install the analyzer using the following methods:

Install from repositories

For debian-based systems:

wget -q -O - | \
  sudo apt-key add -

sudo wget -O /etc/apt/sources.list.d/viva64.list \

sudo apt-get update
sudo apt-get install pvs-studio

For yum-based systems:

wget -O /etc/yum.repos.d/viva64.repo \

yum update
yum install pvs-studio

For zypper-based systems:

wget -q -O /tmp/viva64.key
sudo rpm --import /tmp/viva64.key
sudo zypper ar -f viva64
sudo zypper update
sudo zypper install pvs-studio

Manual installation

You can download PVS-Studio for Linux here.

Deb package

sudo gdebi pvs-studio-VERSION.deb


sudo dpkg -i pvs-studio-VERSION.deb
sudo apt-get -f install

Rpm package

$ sudo dnf install pvs-studio-VERSION.rpm


sudo zypper install pvs-studio-VERSION.rpm


sudo yum install pvs-studio-VERSION.rpm


sudo rpm -i pvs-studio-VERSION.rpm


tar -xzf pvs-studio-VERSION.tgz
sudo ./

Running the analyzer

After a successful analyzer installation on your computer, to check a project follow the instructions on this page: "How to run PVS-Studio on Linux".

Bugs Found

Checked Projects
Collected Errors
14 526
This website uses cookies and other technology to provide you a more personalized experience. By continuing the view of our web-pages you accept the terms of using these files. If you don't want your personal data to be processed, please, leave this site. Learn More →