Skip to content

Commit 28ed9d3

Browse files
authored
readme.md: rewrote Packages section [skip ci] (#4918)
1 parent 4d72e0f commit 28ed9d3

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

readme.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,14 @@ mv cppcheck cppcheck.exe
234234

235235
## Packages
236236

237-
You can install Cppcheck with yum/apt/brew/etc.
238-
239-
The official rpms are built with these files:
240-
https://src.fedoraproject.org/rpms/cppcheck/tree/master
237+
Besides building yourself on the platform of your choice there are also several ways to obtain pre-built packages.<br/>
238+
*Note:* The non-Windows packages are not maintained by the Cppcheck team but by the respective packagers instead.
239+
240+
- (Windows) An official Windows installer is available via the official Cppcheck SourceForge page: https://cppcheck.sourceforge.io/.
241+
- (Linux/Unix) Many major distros offer Cppcheck packages via their integrated package managers (`yum`, `apt`, `pacman`, etc.). See https://pkgs.org/search/?q=cppcheck for an overview.
242+
- (Linux/Unix) Unless you are using a "rolling" distro, it is likely that they are not carrying the latest version. There are several external (mainly unsupported) repositories like AUR (ArchLinux), PPA (ubuntu), EPEL (CentOS/Fedora) etc. which provide up-to-date packages.
243+
- (Linux/Unix) The Canonical Snapcraft package is unmaintained and contains a very old version. Please refrain from using it! See https://trac.cppcheck.net/ticket/11641 for more details.
244+
- (MacOS) A package is available via Homebrew (`brew`). See https://formulae.brew.sh/formula/cppcheck#default.
241245

242246
## Webpage
243247

0 commit comments

Comments
 (0)