How to Install and Uninstall leaktracer Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 03,2024

1. Install "leaktracer" package

This tutorial shows how to install leaktracer on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install leaktracer

2. Uninstall "leaktracer" package

Please follow the instructions below to uninstall leaktracer on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove leaktracer $ sudo apt autoclean && sudo apt autoremove

3. Information about the leaktracer package on Ubuntu 20.10 (Groovy Gorilla)

Package: leaktracer
Architecture: amd64
Version: 2.4-6build1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Yann Dirson
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 60
Depends: gdb, libc6 (>= 2.4), libstdc++6 (>= 4.1.1), perl:any
Filename: pool/universe/l/leaktracer/leaktracer_2.4-6build1_amd64.deb
Size: 18348
MD5sum: 7ec080528ed1aece21f75b47ea00a6fe
SHA1: 91c8f33a7431dbfcd9aa06e2d36aef07f19c3793
SHA256: 242a9fd07e87b2ad395176d385b1f5cf6ec3bd5914ff1e5a11dfafbda5cf4a53
SHA512: b9a90882ce098c294b466d730bedcfdc748ca632b52e6e2a06cf9741e52ae233d1f665c7e64af8ef8225dd891130ad207aa34b0d7a683cea8bd201957d778823
Description-en: Simple and efficient memory-leak tracer for C++ programs
LeakTracer traces calls to new and delete, and reports
inconsistencies in the C++-level memory-management.
.
It has limitations (eg. when you override the new and delete
operators yourself), but is very easy to use (eg. compared to more
complete tools like mpatrol), traces the C++ level (unlike most other
tools), and gives pretty good results.
.
It uses gdb to display source-file information.
Description-md5: a455b760fc59642c8e1bc4b3668e947d