How To Install valgrind on CentOS 8

valgrind is Tool for finding memory management bugs in programs Tool for finding memory management bugs in programs

Introduction

In this tutorial we learn how to install valgrind on CentOS 8.

What is valgrind

Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools. The Valgrind distribution currently includes six production-quality tools error detector (memcheck, the default tool), two thread error detectors (helgrind and drd), a cache and branch-prediction profiler (cachegrind), a call-graph generating cache and branch-prediction profiler (callgrind), and a heap profiler (massif). valgrind 1 3.16.0 4.el8 x86_64 11 M valgrind-3.16.0-4.el8.src.rpm appstream Tool for finding memory management bugs in programs http GPLv2+ Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools. The Valgrind distribution currently includes six production-quality tools error detector (memcheck, the default tool), two thread error detectors (helgrind and drd), a cache and branch-prediction profiler (cachegrind), a call-graph generating cache and branch-prediction profiler (callgrind), and a heap profiler (massif).

We can use yum or dnf to install valgrind on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install valgrind.

Install valgrind on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install valgrind using dnf by running the following command:

sudo dnf -y install valgrind

Install valgrind on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install valgrind using yum by running the following command:

sudo yum -y install valgrind

How To Uninstall valgrind on CentOS 8

To uninstall only the valgrind package we can use the following command:

sudo dnf remove valgrind

valgrind Package Contents on CentOS 8

/usr/bin/callgrind_annotate
/usr/bin/callgrind_control
/usr/bin/cg_annotate
/usr/bin/cg_diff
/usr/bin/cg_merge
/usr/bin/ms_print
/usr/bin/valgrind
/usr/bin/valgrind-di-server
/usr/bin/valgrind-listener
/usr/bin/vgdb
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/7251b77f885bd3334e6e52b3b424e321063ecb
/usr/lib/.build-id/29
/usr/lib/.build-id/29/8ca067f2a1e77511a9030b75fb47207c9ee1de
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/655087955543417a46f4f79a95a66c1f767242
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/19cbd2bc8c4e511813411ac2163b3edba980ba
/usr/lib/.build-id/88
/usr/lib/.build-id/88/dbd01ca596f547c2e9d52f186340521d6594d7
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/1c2dbb7bcf11e024304559eea7f01a319b0b1f
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/8742a704597b16b6f8748da546765726eee9eb
/usr/lib/.build-id/8d/b4280f37f8ca923ff1112214825fd707f9144e
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/3398d7bd6edc900a1309dab46e7c79ef165871
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/a355d0e0fe445ec0d42df0069297fd3d53c76f
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/8d600b9cdfcfdb9203883337e23eb00d7f82a9
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/901d013076234f26b68e277f6fe1449240f98e
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/111cdbca2357685c3236f247898f52c171ce4f
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/17f67515b9e775540b6d486170216d97bafe6b
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/bacec17a593e4ca899699c9e7700d361e7cdb8
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/a1754a8fe0b6e064e436287025fa232dbf1440
/usr/libexec/valgrind
/usr/libexec/valgrind/32bit-core-valgrind-s1.xml
/usr/libexec/valgrind/32bit-core-valgrind-s2.xml
/usr/libexec/valgrind/32bit-core.xml
/usr/libexec/valgrind/32bit-linux-valgrind-s1.xml
/usr/libexec/valgrind/32bit-linux-valgrind-s2.xml
/usr/libexec/valgrind/32bit-linux.xml
/usr/libexec/valgrind/32bit-sse-valgrind-s1.xml
/usr/libexec/valgrind/32bit-sse-valgrind-s2.xml
/usr/libexec/valgrind/32bit-sse.xml
/usr/libexec/valgrind/64bit-avx-valgrind-s1.xml
/usr/libexec/valgrind/64bit-avx-valgrind-s2.xml
/usr/libexec/valgrind/64bit-avx.xml
/usr/libexec/valgrind/64bit-core-valgrind-s1.xml
/usr/libexec/valgrind/64bit-core-valgrind-s2.xml
/usr/libexec/valgrind/64bit-core.xml
/usr/libexec/valgrind/64bit-linux-valgrind-s1.xml
/usr/libexec/valgrind/64bit-linux-valgrind-s2.xml
/usr/libexec/valgrind/64bit-linux.xml
/usr/libexec/valgrind/64bit-sse-valgrind-s1.xml
/usr/libexec/valgrind/64bit-sse-valgrind-s2.xml
/usr/libexec/valgrind/64bit-sse.xml
/usr/libexec/valgrind/amd64-avx-coresse-valgrind.xml
/usr/libexec/valgrind/amd64-avx-coresse.xml
/usr/libexec/valgrind/amd64-avx-linux-valgrind.xml
/usr/libexec/valgrind/amd64-avx-linux.xml
/usr/libexec/valgrind/amd64-coresse-valgrind.xml
/usr/libexec/valgrind/amd64-linux-valgrind.xml
/usr/libexec/valgrind/arm-core-valgrind-s1.xml
/usr/libexec/valgrind/arm-core-valgrind-s2.xml
/usr/libexec/valgrind/arm-core.xml
/usr/libexec/valgrind/arm-vfpv3-valgrind-s1.xml
/usr/libexec/valgrind/arm-vfpv3-valgrind-s2.xml
/usr/libexec/valgrind/arm-vfpv3.xml
/usr/libexec/valgrind/arm-with-vfpv3-valgrind.xml
/usr/libexec/valgrind/arm-with-vfpv3.xml
/usr/libexec/valgrind/cachegrind-x86-linux
/usr/libexec/valgrind/callgrind-x86-linux
/usr/libexec/valgrind/default.supp
/usr/libexec/valgrind/dh_view.css
/usr/libexec/valgrind/dh_view.html
/usr/libexec/valgrind/dh_view.js
/usr/libexec/valgrind/dhat-x86-linux
/usr/libexec/valgrind/drd-x86-linux
/usr/libexec/valgrind/exp-bbv-x86-linux
/usr/libexec/valgrind/getoff-x86-linux
/usr/libexec/valgrind/helgrind-x86-linux
/usr/libexec/valgrind/i386-coresse-valgrind.xml
/usr/libexec/valgrind/i386-linux-valgrind.xml
/usr/libexec/valgrind/lackey-x86-linux
/usr/libexec/valgrind/massif-x86-linux
/usr/libexec/valgrind/memcheck-x86-linux
/usr/libexec/valgrind/mips-cp0-valgrind-s1.xml
/usr/libexec/valgrind/mips-cp0-valgrind-s2.xml
/usr/libexec/valgrind/mips-cp0.xml
/usr/libexec/valgrind/mips-cpu-valgrind-s1.xml
/usr/libexec/valgrind/mips-cpu-valgrind-s2.xml
/usr/libexec/valgrind/mips-cpu.xml
/usr/libexec/valgrind/mips-fpu-valgrind-s1.xml
/usr/libexec/valgrind/mips-fpu-valgrind-s2.xml
/usr/libexec/valgrind/mips-fpu.xml
/usr/libexec/valgrind/mips-linux-valgrind.xml
/usr/libexec/valgrind/mips-linux.xml
/usr/libexec/valgrind/mips64-cp0-valgrind-s1.xml
/usr/libexec/valgrind/mips64-cp0-valgrind-s2.xml
/usr/libexec/valgrind/mips64-cp0.xml
/usr/libexec/valgrind/mips64-cpu-valgrind-s1.xml
/usr/libexec/valgrind/mips64-cpu-valgrind-s2.xml
/usr/libexec/valgrind/mips64-cpu.xml
/usr/libexec/valgrind/mips64-fpu-valgrind-s1.xml
/usr/libexec/valgrind/mips64-fpu-valgrind-s2.xml
/usr/libexec/valgrind/mips64-fpu.xml
/usr/libexec/valgrind/mips64-linux-valgrind.xml
/usr/libexec/valgrind/mips64-linux.xml
/usr/libexec/valgrind/none-x86-linux
/usr/libexec/valgrind/power-altivec-valgrind-s1.xml
/usr/libexec/valgrind/power-altivec-valgrind-s2.xml
/usr/libexec/valgrind/power-altivec.xml
/usr/libexec/valgrind/power-core-valgrind-s1.xml
/usr/libexec/valgrind/power-core-valgrind-s2.xml
/usr/libexec/valgrind/power-core.xml
/usr/libexec/valgrind/power-fpu-valgrind-s1.xml
/usr/libexec/valgrind/power-fpu-valgrind-s2.xml
/usr/libexec/valgrind/power-fpu.xml
/usr/libexec/valgrind/power-linux-valgrind-s1.xml
/usr/libexec/valgrind/power-linux-valgrind-s2.xml
/usr/libexec/valgrind/power-linux.xml
/usr/libexec/valgrind/power-vsx-valgrind-s1.xml
/usr/libexec/valgrind/power-vsx-valgrind-s2.xml
/usr/libexec/valgrind/power-vsx.xml
/usr/libexec/valgrind/power64-core-valgrind-s1.xml
/usr/libexec/valgrind/power64-core-valgrind-s2.xml
/usr/libexec/valgrind/power64-core.xml
/usr/libexec/valgrind/power64-core2-valgrind-s1.xml
/usr/libexec/valgrind/power64-core2-valgrind-s2.xml
/usr/libexec/valgrind/power64-linux-valgrind-s1.xml
/usr/libexec/valgrind/power64-linux-valgrind-s2.xml
/usr/libexec/valgrind/power64-linux.xml
/usr/libexec/valgrind/powerpc-altivec32l-valgrind.xml
/usr/libexec/valgrind/powerpc-altivec32l.xml
/usr/libexec/valgrind/powerpc-altivec64l-valgrind.xml
/usr/libexec/valgrind/powerpc-altivec64l.xml
/usr/libexec/valgrind/s390-acr-valgrind-s1.xml
/usr/libexec/valgrind/s390-acr-valgrind-s2.xml
/usr/libexec/valgrind/s390-acr.xml
/usr/libexec/valgrind/s390-fpr-valgrind-s1.xml
/usr/libexec/valgrind/s390-fpr-valgrind-s2.xml
/usr/libexec/valgrind/s390-fpr.xml
/usr/libexec/valgrind/s390-vx-valgrind-s1.xml
/usr/libexec/valgrind/s390-vx-valgrind-s2.xml
/usr/libexec/valgrind/s390-vx.xml
/usr/libexec/valgrind/s390x-core64-valgrind-s1.xml
/usr/libexec/valgrind/s390x-core64-valgrind-s2.xml
/usr/libexec/valgrind/s390x-core64.xml
/usr/libexec/valgrind/s390x-generic-valgrind.xml
/usr/libexec/valgrind/s390x-generic.xml
/usr/libexec/valgrind/s390x-linux64-valgrind-s1.xml
/usr/libexec/valgrind/s390x-linux64-valgrind-s2.xml
/usr/libexec/valgrind/s390x-linux64.xml
/usr/libexec/valgrind/s390x-vx-linux-valgrind.xml
/usr/libexec/valgrind/s390x-vx-linux.xml
/usr/libexec/valgrind/vgpreload_core-x86-linux.so
/usr/libexec/valgrind/vgpreload_dhat-x86-linux.so
/usr/libexec/valgrind/vgpreload_drd-x86-linux.so
/usr/libexec/valgrind/vgpreload_helgrind-x86-linux.so
/usr/libexec/valgrind/vgpreload_massif-x86-linux.so
/usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so
/usr/share/doc/valgrind
/usr/share/doc/valgrind/COPYING
/usr/share/doc/valgrind/NEWS
/usr/share/doc/valgrind/README_DEVELOPERS
/usr/share/doc/valgrind/README_DEVELOPERS_processes
/usr/share/doc/valgrind/README_MISSING_SYSCALL_OR_IOCTL
/usr/share/doc/valgrind/README_PACKAGERS
/usr/share/doc/valgrind/html
/usr/share/doc/valgrind/html/FAQ.html
/usr/share/doc/valgrind/html/QuickStart.html
/usr/share/doc/valgrind/html/bbv-manual.html
/usr/share/doc/valgrind/html/cg-manual.html
/usr/share/doc/valgrind/html/cl-format.html
/usr/share/doc/valgrind/html/cl-manual.html
/usr/share/doc/valgrind/html/design-impl.html
/usr/share/doc/valgrind/html/dh-manual.html
/usr/share/doc/valgrind/html/dist.authors.html
/usr/share/doc/valgrind/html/dist.html
/usr/share/doc/valgrind/html/dist.news.html
/usr/share/doc/valgrind/html/dist.news.old.html
/usr/share/doc/valgrind/html/dist.readme-android.html
/usr/share/doc/valgrind/html/dist.readme-android_emulator.html
/usr/share/doc/valgrind/html/dist.readme-developers.html
/usr/share/doc/valgrind/html/dist.readme-mips.html
/usr/share/doc/valgrind/html/dist.readme-missing.html
/usr/share/doc/valgrind/html/dist.readme-packagers.html
/usr/share/doc/valgrind/html/dist.readme-s390.html
/usr/share/doc/valgrind/html/dist.readme-solaris.html
/usr/share/doc/valgrind/html/dist.readme.html
/usr/share/doc/valgrind/html/drd-manual.html
/usr/share/doc/valgrind/html/faq.html
/usr/share/doc/valgrind/html/hg-manual.html
/usr/share/doc/valgrind/html/images
/usr/share/doc/valgrind/html/images/dh-tree.png
/usr/share/doc/valgrind/html/images/home.png
/usr/share/doc/valgrind/html/images/kcachegrind_xtree.png
/usr/share/doc/valgrind/html/images/next.png
/usr/share/doc/valgrind/html/images/prev.png
/usr/share/doc/valgrind/html/images/up.png
/usr/share/doc/valgrind/html/index.html
/usr/share/doc/valgrind/html/license.gfdl.html
/usr/share/doc/valgrind/html/license.gpl.html
/usr/share/doc/valgrind/html/licenses.html
/usr/share/doc/valgrind/html/lk-manual.html
/usr/share/doc/valgrind/html/manual-core-adv.html
/usr/share/doc/valgrind/html/manual-core.html
/usr/share/doc/valgrind/html/manual-intro.html
/usr/share/doc/valgrind/html/manual-writing-tools.html
/usr/share/doc/valgrind/html/manual.html
/usr/share/doc/valgrind/html/mc-manual.html
/usr/share/doc/valgrind/html/ms-manual.html
/usr/share/doc/valgrind/html/nl-manual.html
/usr/share/doc/valgrind/html/quick-start.html
/usr/share/doc/valgrind/html/tech-docs.html
/usr/share/doc/valgrind/html/vg_basic.css
/usr/share/doc/valgrind/valgrind_manual.pdf
/usr/share/man/man1/callgrind_annotate.1.gz
/usr/share/man/man1/callgrind_control.1.gz
/usr/share/man/man1/cg_annotate.1.gz
/usr/share/man/man1/cg_diff.1.gz
/usr/share/man/man1/cg_merge.1.gz
/usr/share/man/man1/ms_print.1.gz
/usr/share/man/man1/valgrind-di-server.1.gz
/usr/share/man/man1/valgrind-listener.1.gz
/usr/share/man/man1/valgrind.1.gz
/usr/share/man/man1/vgdb.1.gz
/usr/bin/callgrind_annotate
/usr/bin/callgrind_control
/usr/bin/cg_annotate
/usr/bin/cg_diff
/usr/bin/cg_merge
/usr/bin/ms_print
/usr/bin/valgrind
/usr/bin/valgrind-di-server
/usr/bin/valgrind-listener
/usr/bin/vgdb
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/27838a52e70b24ee423adce187e2c0254d5cee
/usr/lib/.build-id/18
/usr/lib/.build-id/18/33d526134eae10323406ce5727dddc52285821
/usr/lib/.build-id/26
/usr/lib/.build-id/26/e8f6d65281a4e6be2fefe6ef244c2d2b5abefc
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/4056b153a7f9c96ed1d1afc5359b0051ec3dae
/usr/lib/.build-id/38
/usr/lib/.build-id/38/4064578a256aa415d012c8123dd662c2a56454
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/3bcfd86864446322320471a33a14e82146076d
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/0734805b373bfaf1779cfb9873e755350b3133
/usr/lib/.build-id/61
/usr/lib/.build-id/61/5d80d9c34a91dd23fe0fb00b6bb4e09e6f114a
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/f070520bda5afe24616af33a5b7d1d7a2b4e97
/usr/lib/.build-id/91
/usr/lib/.build-id/91/9f1aeac9bba3afae2fe87b2a6255c754d9c0bb
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/7f419d51138163081f5027e812b2ee6fcb448d
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/acb01ce70ad704575616c0dad4b37da1aacafe
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/9ed13ecd781ff23bc1b6c58f5fba307f6bca2e
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/ed77a40647006e058ca6fee6425849872f5026
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/14bb302e1a1b234e67eecff9d50c0b182be76f
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/cbea51cce857eb828698fa52d366e4ed4edf58
/usr/libexec/valgrind
/usr/libexec/valgrind/32bit-core-valgrind-s1.xml
/usr/libexec/valgrind/32bit-core-valgrind-s2.xml
/usr/libexec/valgrind/32bit-core.xml
/usr/libexec/valgrind/32bit-linux-valgrind-s1.xml
/usr/libexec/valgrind/32bit-linux-valgrind-s2.xml
/usr/libexec/valgrind/32bit-linux.xml
/usr/libexec/valgrind/32bit-sse-valgrind-s1.xml
/usr/libexec/valgrind/32bit-sse-valgrind-s2.xml
/usr/libexec/valgrind/32bit-sse.xml
/usr/libexec/valgrind/64bit-avx-valgrind-s1.xml
/usr/libexec/valgrind/64bit-avx-valgrind-s2.xml
/usr/libexec/valgrind/64bit-avx.xml
/usr/libexec/valgrind/64bit-core-valgrind-s1.xml
/usr/libexec/valgrind/64bit-core-valgrind-s2.xml
/usr/libexec/valgrind/64bit-core.xml
/usr/libexec/valgrind/64bit-linux-valgrind-s1.xml
/usr/libexec/valgrind/64bit-linux-valgrind-s2.xml
/usr/libexec/valgrind/64bit-linux.xml
/usr/libexec/valgrind/64bit-sse-valgrind-s1.xml
/usr/libexec/valgrind/64bit-sse-valgrind-s2.xml
/usr/libexec/valgrind/64bit-sse.xml
/usr/libexec/valgrind/amd64-avx-coresse-valgrind.xml
/usr/libexec/valgrind/amd64-avx-coresse.xml
/usr/libexec/valgrind/amd64-avx-linux-valgrind.xml
/usr/libexec/valgrind/amd64-avx-linux.xml
/usr/libexec/valgrind/amd64-coresse-valgrind.xml
/usr/libexec/valgrind/amd64-linux-valgrind.xml
/usr/libexec/valgrind/arm-core-valgrind-s1.xml
/usr/libexec/valgrind/arm-core-valgrind-s2.xml
/usr/libexec/valgrind/arm-core.xml
/usr/libexec/valgrind/arm-vfpv3-valgrind-s1.xml
/usr/libexec/valgrind/arm-vfpv3-valgrind-s2.xml
/usr/libexec/valgrind/arm-vfpv3.xml
/usr/libexec/valgrind/arm-with-vfpv3-valgrind.xml
/usr/libexec/valgrind/arm-with-vfpv3.xml
/usr/libexec/valgrind/cachegrind-amd64-linux
/usr/libexec/valgrind/callgrind-amd64-linux
/usr/libexec/valgrind/default.supp
/usr/libexec/valgrind/dh_view.css
/usr/libexec/valgrind/dh_view.html
/usr/libexec/valgrind/dh_view.js
/usr/libexec/valgrind/dhat-amd64-linux
/usr/libexec/valgrind/drd-amd64-linux
/usr/libexec/valgrind/exp-bbv-amd64-linux
/usr/libexec/valgrind/getoff-amd64-linux
/usr/libexec/valgrind/helgrind-amd64-linux
/usr/libexec/valgrind/i386-coresse-valgrind.xml
/usr/libexec/valgrind/i386-linux-valgrind.xml
/usr/libexec/valgrind/lackey-amd64-linux
/usr/libexec/valgrind/massif-amd64-linux
/usr/libexec/valgrind/memcheck-amd64-linux
/usr/libexec/valgrind/mips-cp0-valgrind-s1.xml
/usr/libexec/valgrind/mips-cp0-valgrind-s2.xml
/usr/libexec/valgrind/mips-cp0.xml
/usr/libexec/valgrind/mips-cpu-valgrind-s1.xml
/usr/libexec/valgrind/mips-cpu-valgrind-s2.xml
/usr/libexec/valgrind/mips-cpu.xml
/usr/libexec/valgrind/mips-fpu-valgrind-s1.xml
/usr/libexec/valgrind/mips-fpu-valgrind-s2.xml
/usr/libexec/valgrind/mips-fpu.xml
/usr/libexec/valgrind/mips-linux-valgrind.xml
/usr/libexec/valgrind/mips-linux.xml
/usr/libexec/valgrind/mips64-cp0-valgrind-s1.xml
/usr/libexec/valgrind/mips64-cp0-valgrind-s2.xml
/usr/libexec/valgrind/mips64-cp0.xml
/usr/libexec/valgrind/mips64-cpu-valgrind-s1.xml
/usr/libexec/valgrind/mips64-cpu-valgrind-s2.xml
/usr/libexec/valgrind/mips64-cpu.xml
/usr/libexec/valgrind/mips64-fpu-valgrind-s1.xml
/usr/libexec/valgrind/mips64-fpu-valgrind-s2.xml
/usr/libexec/valgrind/mips64-fpu.xml
/usr/libexec/valgrind/mips64-linux-valgrind.xml
/usr/libexec/valgrind/mips64-linux.xml
/usr/libexec/valgrind/none-amd64-linux
/usr/libexec/valgrind/power-altivec-valgrind-s1.xml
/usr/libexec/valgrind/power-altivec-valgrind-s2.xml
/usr/libexec/valgrind/power-altivec.xml
/usr/libexec/valgrind/power-core-valgrind-s1.xml
/usr/libexec/valgrind/power-core-valgrind-s2.xml
/usr/libexec/valgrind/power-core.xml
/usr/libexec/valgrind/power-fpu-valgrind-s1.xml
/usr/libexec/valgrind/power-fpu-valgrind-s2.xml
/usr/libexec/valgrind/power-fpu.xml
/usr/libexec/valgrind/power-linux-valgrind-s1.xml
/usr/libexec/valgrind/power-linux-valgrind-s2.xml
/usr/libexec/valgrind/power-linux.xml
/usr/libexec/valgrind/power-vsx-valgrind-s1.xml
/usr/libexec/valgrind/power-vsx-valgrind-s2.xml
/usr/libexec/valgrind/power-vsx.xml
/usr/libexec/valgrind/power64-core-valgrind-s1.xml
/usr/libexec/valgrind/power64-core-valgrind-s2.xml
/usr/libexec/valgrind/power64-core.xml
/usr/libexec/valgrind/power64-core2-valgrind-s1.xml
/usr/libexec/valgrind/power64-core2-valgrind-s2.xml
/usr/libexec/valgrind/power64-linux-valgrind-s1.xml
/usr/libexec/valgrind/power64-linux-valgrind-s2.xml
/usr/libexec/valgrind/power64-linux.xml
/usr/libexec/valgrind/powerpc-altivec32l-valgrind.xml
/usr/libexec/valgrind/powerpc-altivec32l.xml
/usr/libexec/valgrind/powerpc-altivec64l-valgrind.xml
/usr/libexec/valgrind/powerpc-altivec64l.xml
/usr/libexec/valgrind/s390-acr-valgrind-s1.xml
/usr/libexec/valgrind/s390-acr-valgrind-s2.xml
/usr/libexec/valgrind/s390-acr.xml
/usr/libexec/valgrind/s390-fpr-valgrind-s1.xml
/usr/libexec/valgrind/s390-fpr-valgrind-s2.xml
/usr/libexec/valgrind/s390-fpr.xml
/usr/libexec/valgrind/s390-vx-valgrind-s1.xml
/usr/libexec/valgrind/s390-vx-valgrind-s2.xml
/usr/libexec/valgrind/s390-vx.xml
/usr/libexec/valgrind/s390x-core64-valgrind-s1.xml
/usr/libexec/valgrind/s390x-core64-valgrind-s2.xml
/usr/libexec/valgrind/s390x-core64.xml
/usr/libexec/valgrind/s390x-generic-valgrind.xml
/usr/libexec/valgrind/s390x-generic.xml
/usr/libexec/valgrind/s390x-linux64-valgrind-s1.xml
/usr/libexec/valgrind/s390x-linux64-valgrind-s2.xml
/usr/libexec/valgrind/s390x-linux64.xml
/usr/libexec/valgrind/s390x-vx-linux-valgrind.xml
/usr/libexec/valgrind/s390x-vx-linux.xml
/usr/libexec/valgrind/vgpreload_core-amd64-linux.so
/usr/libexec/valgrind/vgpreload_dhat-amd64-linux.so
/usr/libexec/valgrind/vgpreload_drd-amd64-linux.so
/usr/libexec/valgrind/vgpreload_helgrind-amd64-linux.so
/usr/libexec/valgrind/vgpreload_massif-amd64-linux.so
/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
/usr/share/doc/valgrind
/usr/share/doc/valgrind/COPYING
/usr/share/doc/valgrind/NEWS
/usr/share/doc/valgrind/README_DEVELOPERS
/usr/share/doc/valgrind/README_DEVELOPERS_processes
/usr/share/doc/valgrind/README_MISSING_SYSCALL_OR_IOCTL
/usr/share/doc/valgrind/README_PACKAGERS
/usr/share/doc/valgrind/html
/usr/share/doc/valgrind/html/FAQ.html
/usr/share/doc/valgrind/html/QuickStart.html
/usr/share/doc/valgrind/html/bbv-manual.html
/usr/share/doc/valgrind/html/cg-manual.html
/usr/share/doc/valgrind/html/cl-format.html
/usr/share/doc/valgrind/html/cl-manual.html
/usr/share/doc/valgrind/html/design-impl.html
/usr/share/doc/valgrind/html/dh-manual.html
/usr/share/doc/valgrind/html/dist.authors.html
/usr/share/doc/valgrind/html/dist.html
/usr/share/doc/valgrind/html/dist.news.html
/usr/share/doc/valgrind/html/dist.news.old.html
/usr/share/doc/valgrind/html/dist.readme-android.html
/usr/share/doc/valgrind/html/dist.readme-android_emulator.html
/usr/share/doc/valgrind/html/dist.readme-developers.html
/usr/share/doc/valgrind/html/dist.readme-mips.html
/usr/share/doc/valgrind/html/dist.readme-missing.html
/usr/share/doc/valgrind/html/dist.readme-packagers.html
/usr/share/doc/valgrind/html/dist.readme-s390.html
/usr/share/doc/valgrind/html/dist.readme-solaris.html
/usr/share/doc/valgrind/html/dist.readme.html
/usr/share/doc/valgrind/html/drd-manual.html
/usr/share/doc/valgrind/html/faq.html
/usr/share/doc/valgrind/html/hg-manual.html
/usr/share/doc/valgrind/html/images
/usr/share/doc/valgrind/html/images/dh-tree.png
/usr/share/doc/valgrind/html/images/home.png
/usr/share/doc/valgrind/html/images/kcachegrind_xtree.png
/usr/share/doc/valgrind/html/images/next.png
/usr/share/doc/valgrind/html/images/prev.png
/usr/share/doc/valgrind/html/images/up.png
/usr/share/doc/valgrind/html/index.html
/usr/share/doc/valgrind/html/license.gfdl.html
/usr/share/doc/valgrind/html/license.gpl.html
/usr/share/doc/valgrind/html/licenses.html
/usr/share/doc/valgrind/html/lk-manual.html
/usr/share/doc/valgrind/html/manual-core-adv.html
/usr/share/doc/valgrind/html/manual-core.html
/usr/share/doc/valgrind/html/manual-intro.html
/usr/share/doc/valgrind/html/manual-writing-tools.html
/usr/share/doc/valgrind/html/manual.html
/usr/share/doc/valgrind/html/mc-manual.html
/usr/share/doc/valgrind/html/ms-manual.html
/usr/share/doc/valgrind/html/nl-manual.html
/usr/share/doc/valgrind/html/quick-start.html
/usr/share/doc/valgrind/html/tech-docs.html
/usr/share/doc/valgrind/html/vg_basic.css
/usr/share/doc/valgrind/valgrind_manual.pdf
/usr/share/man/man1/callgrind_annotate.1.gz
/usr/share/man/man1/callgrind_control.1.gz
/usr/share/man/man1/cg_annotate.1.gz
/usr/share/man/man1/cg_diff.1.gz
/usr/share/man/man1/cg_merge.1.gz
/usr/share/man/man1/ms_print.1.gz
/usr/share/man/man1/valgrind-di-server.1.gz
/usr/share/man/man1/valgrind-listener.1.gz
/usr/share/man/man1/valgrind.1.gz
/usr/share/man/man1/vgdb.1.gz

References

Summary

In this tutorial we learn how to install valgrind on CentOS 8 using yum and dnf.