How to Install and Uninstall valgrind Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: April 29,2024

1. Install "valgrind" package

Please follow the guidance below to install valgrind on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install valgrind

2. Uninstall "valgrind" package

This guide let you learn how to uninstall valgrind on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the valgrind package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: valgrind
Architecture: amd64
Version: 1:3.11.0-1ubuntu4.2
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Alessandro Ghedini
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 64925
Depends: libc6 (>= 2.14), libc6-dbg
Recommends: gdb
Suggests: valgrind-dbg, kcachegrind, alleyoop, valkyrie (>> 1.3.0)
Breaks: valgrind-dev
Replaces: valgrind-dev
Filename: pool/main/v/valgrind/valgrind_3.11.0-1ubuntu4.2_amd64.deb
Size: 11205194
MD5sum: 90878d64570bf5a90b03791aa28f68fe
SHA1: 810b83ce8469d3f0a9e0079246e557f409533266
SHA256: 1ce15e6585af1114b0320d682878820702f5bb47a590926898548792c64237f7
SHA512: e57e7465ac4648d9841369b66be30fe8dedc7e3eb091089529257e0d96a6f1cb6ceed5a0df324a374b92edf3dd27da2200600f2c1d48942cd1c6755f3874ede0
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
Supported: 5y

Package: valgrind
Priority: optional
Section: devel
Installed-Size: 65186
Maintainer: Ubuntu Developers
Original-Maintainer: Alessandro Ghedini
Architecture: amd64
Version: 1:3.11.0-1ubuntu4
Replaces: valgrind-dev
Depends: libc6 (>= 2.14), libc6-dbg
Recommends: gdb
Suggests: valgrind-dbg, kcachegrind, alleyoop, valkyrie (>> 1.3.0)
Breaks: valgrind-dev
Filename: pool/main/v/valgrind/valgrind_3.11.0-1ubuntu4_amd64.deb
Size: 10962594
MD5sum: 6d28ada386d17c8eccf440a5d7774337
SHA1: 960a88d0883917acc90accb7280000b324202a6c
SHA256: ebdb4b61c5c00020a8811555011cab6e31b8a47607ef209dc3933278d18fef1f
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
Homepage: http://www.valgrind.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y