Установка бета-версии PVS-Studio из репозиториев на Linux и macOS
Установка PVS-Studio Beta из репозиториев на Linux
Установка PVS-Studio C++
Для debian-based систем
До Debian 11 и 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
После Debian 11 и 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
Для yum-based систем
wget -O /etc/yum.repos.d/viva64.repo \
https://files.pvs-studio.com/beta/etc/viva64.repo
yum update
yum install pvs-studio
Для zypper-based систем
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
Установка PVS-Studio C#
Для debian-based систем
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
Для yum-based систем
wget -O /etc/yum.repos.d/viva64.repo \
https://files.pvs-studio.com/beta/etc/viva64.repo
yum update
yum install pvs-studio-dotnet
Для zypper-based систем
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
Установка Blame-notifier
Для debian-based систем
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
Для yum-based систем
wget -O /etc/yum.repos.d/viva64.repo \
https://files.pvs-studio.com/beta/etc/viva64.repo
yum update
yum install blame-notifier
Для zypper-based систем
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
Установка PVS-Studio Beta из Homebrew на macOS
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