How to Install and Uninstall libheaptrack Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 08,2024

1. Install "libheaptrack" package

Please follow the instructions below to install libheaptrack on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libheaptrack

2. Uninstall "libheaptrack" package

Please follow the guidance below to uninstall libheaptrack on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libheaptrack $ sudo apt autoclean && sudo apt autoremove

3. Information about the libheaptrack package on Ubuntu 21.04 (Hirsute Hippo)

Package: libheaptrack
Architecture: amd64
Version: 1.2.0-1build1
Priority: optional
Section: universe/devel
Source: heaptrack
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 238
Depends: libc6 (>= 2.32), libgcc-s1 (>= 3.0), libstdc++6 (>= 6), libunwind8
Filename: pool/universe/h/heaptrack/libheaptrack_1.2.0-1build1_amd64.deb
Size: 71340
MD5sum: b9c2e411fc27b70b7dab637c5e25ad09
SHA1: bda666288010db3bf0c5913c949800b51aa1714a
SHA256: 6b92ead86a9b3c4b2795a4763d78e716a39ff99dd76a4ae1ce1723bafe02bf07
SHA512: 534c0291e72d3ea650025cef4ed172275016e6b6b9fe4ddda08084a1df83f8ca7674fab9c32362c209b2196320996f142e564ecacde3f88f89f21c319911eeff
Homepage: https://github.com/KDE/heaptrack
Description-en: heap memory profiler for Linux
Heap memory usage profiler. It uses LD_PRELOAD to track all calls
to the core memory allocation functions and logs these occurrences.
Additionally, backtraces are obtained and logged. It can also
generate a historigram of allocation sizes over the number of
calls. Heaptrack measures the following:
.
* Heap memory consumption (like Massif).
* Number of calls to allocation functions (like callgrind).
* Total amount of memory allocated, ignoring deallocations.
* Leaked memory (like memcheck).
.
Heaptrack is notable for it's ability to attach to running processes,
for consuming substantially less memory than Valgrind, and for not
reducing an application's interactivity as much as Valgrind does.
Heaptrack is useful for debugging memory leaks and memory ballooning.
.
The package contains the shared libraries.
Description-md5: 3cb37c0d347ac3874fefe33ae7e7505a