As the author of the CLion Cppcheck plugin I direct people to the main Cppcheck page to install Cppcheck since I do not bundle it with the plugin.
I've had a slow, steady stream of people ask me "Does Cppcheck only work for Windows?" I can understand these newcomers confusion since on the Cppcheck main page, only Windows installers are front and center. Would it be possible to add a small section on that page or some other page that gave quick install instructions for several other popular operating systems?
Something like:
Ubuntu $ sudo apt-get install cppcheck
Fedora $ sudo yum install cppcheck
macOS $ brew install cppcheck
I think this could help out a lot of newcomers to Cppcheck.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to change one of the two download buttons to point to "Other downloads" (removing the 32-bit Windows download button), but the patch was never applied.
However; I have objections regarding the suggestion to advertise something like apt-get; typically users get extremely old cppcheck versions then - which is exactly what we do not want.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Only tiny suggestion would be to monospace the actual package install instructions (sudo apt-get install cppcheck) so they look a little more distinct from the rest of the text.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As the author of the CLion Cppcheck plugin I direct people to the main Cppcheck page to install Cppcheck since I do not bundle it with the plugin.
I've had a slow, steady stream of people ask me "Does Cppcheck only work for Windows?" I can understand these newcomers confusion since on the Cppcheck main page, only Windows installers are front and center. Would it be possible to add a small section on that page or some other page that gave quick install instructions for several other popular operating systems?
Something like:
Ubuntu
$ sudo apt-get install cppcheck
Fedora
$ sudo yum install cppcheck
macOS
$ brew install cppcheck
I think this could help out a lot of newcomers to Cppcheck.
I tried to change one of the two download buttons to point to "Other downloads" (removing the 32-bit Windows download button), but the patch was never applied.
However; I have objections regarding the suggestion to advertise something like apt-get; typically users get extremely old cppcheck versions then - which is exactly what we do not want.
I agree...
The question is how we do it best.
I would prefer that we don't just redirect people away to github etc.
the clion download page is pretty friendly imho:
https://www.jetbrains.com/clion/download
by default that showed the linux download for me.
would it be ok to use the "detect OS" script from clion and use it on cppcheck web page?
if somebody wants to fix this.. please send me a test.php page and I'll upload it to http://cppcheck.sf.net so we can all look at it. All the old files are available here: https://github.com/danmar/cppcheck-htdocs
Last edit: Daniel Marjamäki 2017-04-26
Thank you for whoever updated the the main page.
Only tiny suggestion would be to monospace the actual package install instructions (
sudo apt-get install cppcheck
) so they look a little more distinct from the rest of the text.feel free to send a pull request, the website repo is: https://github.com/danmar/cppcheck-htdocs