Installing Beta-version of PVS-Studio on Linux and macOS from repositories
- Installing PVS-Studio Beta on Linux from repositories
- Installing PVS-Studio Beta on macOS from Homebrew
Installing PVS-Studio Beta on Linux from repositories
Installation of PVS-Studio C++
For debian-based systems
Until Debian 11 and Ubuntu 22.04:
wget -q -O - https://cdn.pvs-studio.com/etc/pubkey.txt | \
sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/viva64.list \
https://cdn.pvs-studio.com/beta/etc/viva64.list
sudo apt-get update
sudo apt-get install pvs-studio
After Debian 11 and Ubuntu 22.04:
wget -qO- https://cdn.pvs-studio.com/etc/pubkey.txt | \
sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/viva64.gpg
sudo wget -O /etc/apt/sources.list.d/viva64.list \
https://cdn.pvs-studio.com/beta/etc/viva64.list
sudo apt-get update
sudo apt-get install pvs-studio
For yum-based systems
wget -O /etc/yum.repos.d/viva64.repo \
https://files.pvs-studio.com/beta/etc/viva64.repo
yum update
yum install pvs-studio
For zypper-based systems
wget -q -O /tmp/viva64.key https://files.pvs-studio.com/etc/pubkey.txt
sudo rpm --import /tmp/viva64.key
sudo zypper ar -f https://files.pvs-studio.com/beta/rpm viva64
sudo zypper update
sudo zypper install pvs-studio
Installation of PVS-Studio C#
For debian-based systems
wget -q -O - https://files.pvs-studio.com/etc/pubkey.txt | \
sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/viva64.list \
https://files.pvs-studio.com/beta/etc/viva64.list
sudo apt-get update
sudo apt-get install pvs-studio-dotnet
For yum-based systems
wget -O /etc/yum.repos.d/viva64.repo \
https://files.pvs-studio.com/beta/etc/viva64.repo
yum update
yum install pvs-studio-dotnet
For zypper-based systems
wget -q -O /tmp/viva64.key https://files.pvs-studio.com/etc/pubkey.txt
sudo rpm --import /tmp/viva64.key
sudo zypper ar -f https://files.pvs-studio.com/beta/rpm viva64
sudo zypper update
sudo zypper install pvs-studio-dotnet
Installation of Blame-notifier
For debian-based systems
wget -q -O - https://files.pvs-studio.com/etc/pubkey.txt | \
sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/viva64.list \
https://files.pvs-studio.com/beta/etc/viva64.list
sudo apt-get update
sudo apt-get install blame-notifier
For yum-based systems
wget -O /etc/yum.repos.d/viva64.repo \
https://files.pvs-studio.com/beta/etc/viva64.repo
yum update
yum install blame-notifier
For zypper-based systems
wget -q -O /tmp/viva64.key https://files.pvs-studio.com/etc/pubkey.txt
sudo rpm --import /tmp/viva64.key
sudo zypper ar -f https://files.pvs-studio.com/beta/rpm viva64
sudo zypper update
sudo zypper install blame-notifier
Installing PVS-Studio Beta on macOS from Homebrew
PVS-Studio C++:
brew install viva64/pvs-studio/pvs-studio-beta
PVS-Studio C#:
brew install viva64/pvs-studio/pvs-studio-dotnet-beta
Blame-notifier:
brew install viva64/pvs-studio/blame-notifier-beta