How to Install and Uninstall valgrind.x86_64 Package on Amazon Linux 2

Last updated: November 27,2024

1. Install "valgrind.x86_64" package

Please follow the instructions below to install valgrind.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install valgrind.x86_64

2. Uninstall "valgrind.x86_64" package

This guide covers the steps necessary to uninstall valgrind.x86_64 on Amazon Linux 2:

$ sudo yum remove valgrind.x86_64 $ sudo yum autoremove

3. Information about the valgrind.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : valgrind
Arch : x86_64
Epoch : 1
Version : 3.13.0
Release : 9.amzn2.0.2
Size : 7.7 M
Repo : amzn2-core/2/x86_64
Summary : Tool for finding memory management bugs in programs
URL : http://www.valgrind.org/
License : GPLv2+
Description : 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: a memory 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).