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

Last updated: May 08,2024

1. Install "libheaptrack" package

In this section, we are going to explain the necessary steps to install libheaptrack on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libheaptrack

2. Uninstall "libheaptrack" package

Please follow the steps below to uninstall libheaptrack on Ubuntu 21.10 (Impish Indri):

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

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

Package: libheaptrack
Architecture: amd64
Version: 1.2.0-1ubuntu1
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: 223
Depends: libc6 (>= 2.33), libgcc-s1 (>= 3.3.1), libstdc++6 (>= 6), libunwind8
Filename: pool/universe/h/heaptrack/libheaptrack_1.2.0-1ubuntu1_amd64.deb
Size: 67320
MD5sum: 8e83af2485f9540ff7a4d92c1c567afa
SHA1: baef7c1fe3a01bfcbe776b365340d647ed50222e
SHA256: 2e922cf3a67ac3a2f485dc391655b5bfaa3840c03e2591bada6ea9197de50abf
SHA512: 37d362d9d012f7dc9e41e3b7b6cf15e5a82009327fc431d85506a3e4842c27d334aa765a006237835d5c88746f4afd76537d02d16d97dbf71a67094e3aed78f4
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