Menu

Latest version (Cppcheck-2.12.0) and AS8

Ming Cheng
2023-11-20
2023-11-22
  • Ming Cheng

    Ming Cheng - 2023-11-20

    How to install latest cppcheck version on AS8

    Linux flxsgl64dv06 4.18.0-477.27.1.el8_8.x86_64 #1 SMP Thu Aug 31 10:29:22 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

     

    Last edit: Ming Cheng 2023-11-20
  • Daniel Marjamäki

    I don't use a Redhat-based system myself but I would guess yum install cppcheck might work. Otherwise you should be able to find a cppcheck rpm somewhere but I can't point you to a proper location.

    If you want to compile Cppcheck let us know it is pretty straight forward.

     
    • Ming Cheng

      Ming Cheng - 2023-11-21

      yum list cppcheck
      /usr/lib/python3.6/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
      from cryptography import x509

      Failed loading plugin "spacewalk": module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
      Not root, Subscription Management repositories not updated
      Repository epel is listed more than once in the configuration
      Extra Packages for Enterprise Linux 8 - x86_64 1.7 kB/s | 6.7 kB 00:03
      Extra Packages for Enterprise Linux 8 - x86_64 1.4 MB/s | 16 MB 00:11
      Red Hat Satellite Capsule 6 Beta for RHEL 8 x86_64 (Source RPMs) 858 B/s | 3.7 kB 00:04
      Fast Datapath Beta for RHEL 8 x86_64 (Debug RPMs) 704 B/s | 3.8 kB 00:05
      Red Hat Satellite 6 Beta for RHEL 8 x86_64 (Debug RPMs) 858 B/s | 3.7 kB 00:04
      Fast Datapath Beta for RHEL 8 x86_64 (RPMs) 748 B/s | 4.0 kB 00:05
      Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 1.2 kB/s | 4.1 kB 00:03
      Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 1.7 kB/s | 4.5 kB 00:02
      Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 7.7 MB/s | 58 MB 00:07
      SG RedHat 8 rhel-8-server-rpms 1.6 MB/s | 3.0 kB 00:00
      SG RedHat 8 rhel-8-server-appstream-rpms 2.4 MB/s | 3.5 kB 00:00
      SG RedHat 8 rhel-8-server-supplementary-rpms 1.6 MB/s | 3.0 kB 00:00
      SG RedHat 8 puppet6 2.2 MB/s | 3.0 kB 00:00
      SG RedHat 8 perl 2.0 MB/s | 3.0 kB 00:00
      SG RedHat 8 mysql56 community 1.8 MB/s | 3.0 kB 00:00
      SG RedHat 8 devtoolset7 2.2 MB/s | 3.0 kB 00:00
      Error: No matching Packages to list

       
  • Ming Cheng

    Ming Cheng - 2023-11-21

    bcos yum list cppcheck no result. So I guess " yum install cppcheck" may not work.

    https://rpmfind.net/linux/rpm2html/search.php?query=cppcheck(x86-64)

    not sure which one is correct.
    my platform:

    Linux flxsgl64dv06 4.18.0-477.27.1.el8_8.x86_64 #1 SMP Thu Aug 31 10:29:22 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

     
  • Ming Cheng

    Ming Cheng - 2023-11-22

    Is cppcheck-2.12.1-2.1.x86_64.html A tool for static C/C++ code analysis OpenSuSE Tumbleweed for x86_64 cppcheck-2.12.1-2.1.x86_64.rpm ok for my platform?

     
    • Daniel Marjamäki

      I don't know.. it sounds good to me.

      We don't maintain nor distribute any packages for any linux distributions, the packages are built by the distributions package maintainers.. so I can't answer what is the proper package for each user.

       

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.