How to Install and Uninstall valgrind Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "valgrind" package

Please follow the guidance below to install valgrind on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install valgrind

2. Uninstall "valgrind" package

This guide covers the steps necessary to uninstall valgrind on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove valgrind $ sudo apt autoclean && sudo apt autoremove

3. Information about the valgrind package on Ubuntu 21.10 (Impish Indri)

Package: valgrind
Architecture: amd64
Version: 1:3.17.0-0ubuntu3
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Alessandro Ghedini
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 77249
Depends: libc6 (>= 2.34), libc6-i386 (>= 2.34), libc6-dbg
Recommends: gdb
Suggests: valgrind-dbg, valgrind-mpi, kcachegrind, alleyoop, valkyrie (>> 1.3.0)
Breaks: valgrind-dev
Replaces: valgrind-dev
Filename: pool/main/v/valgrind/valgrind_3.17.0-0ubuntu3_amd64.deb
Size: 13784016
MD5sum: bb9829d1c122538c939dad8fecf34ee0
SHA1: 1c06ca998cef9cabae7b5a0363f852e5d371762e
SHA256: 0ac24482241ef46287416acdb16bb9e8144f48b5b7e8abba5602abe8bdfd4d52
SHA512: 31a45695f87e6f742a3a9cf0055f028b803b1c8026cd6abaa23dd930db8112b65e7daf259251a8b6156dc14fe3c7e011d9e867b7adf99f4a53c398eb0b8d44ce
Homepage: http://www.valgrind.org/
Description-en: instrumentation framework for building dynamic analysis tools
Valgrind is a system for debugging and profiling Linux programs. With its tool
suite you can automatically detect many memory management and threading bugs,
avoiding hours of frustrating bug-hunting and making your programs more stable.
You can also perform detailed profiling to help speed up your programs and use
Valgrind to build new tools.
.
The Valgrind distribution currently includes six production-quality tools:
* a memory error detector (Memcheck)
* two thread error detectors (Helgrind and DRD)
* a cache and branch-prediction profiler (Cachegrind)
* a call-graph generating cache and branch-prediction profiler (Callgrind)
* a heap profiler (Massif)
It also includes three experimental tools:
* a stack/global array overrun detector (SGCheck)
* a second heap profiler that examines how heap blocks are used (DHAT)
* a SimPoint basic block vector generator (BBV)
Description-md5: 0cb016d4f438ed8069cda723e3bb7786