Menu

Add Linux install instructions to Download section?

John Hagen
2017-04-25
2017-06-24
  • John Hagen

    John Hagen - 2017-04-25

    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.

     
  • Mr. X

    Mr. X - 2017-04-26

    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.

     
  • Daniel Marjamäki

    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
  • John Hagen

    John Hagen - 2017-06-15

    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.

     
  • Daniel Marjamäki

    feel free to send a pull request, the website repo is: https://github.com/danmar/cppcheck-htdocs

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.