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

Last updated: May 12,2024

1. Install "dwarves" package

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

$ sudo apt update $ sudo apt install dwarves

2. Uninstall "dwarves" package

This tutorial shows how to uninstall dwarves on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove dwarves $ sudo apt autoclean && sudo apt autoremove

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

Package: dwarves
Architecture: amd64
Version: 1.21-0ubuntu1
Priority: extra
Section: universe/utils
Source: dwarves-dfsg
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Thomas Girard
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1661
Depends: libbpf0 (>= 1:0.4.0), libc6 (>= 2.33), libdw1 (>= 0.157), libelf1 (>= 0.142), zlib1g (>= 1:1.1.4)
Filename: pool/universe/d/dwarves-dfsg/dwarves_1.21-0ubuntu1_amd64.deb
Size: 238276
MD5sum: 8717d8d88939604028956380f51473b3
SHA1: ec7b83b60c1e148060f91ccdcdefe161873e1a7e
SHA256: a6132da1487ccaf3aed7d1c53c4440f7dba9f689d763a6d7572b7276e1233869
SHA512: 5bb3555dc8dc444db6ef9507ae22f27147379daebab882fe6bd6f183538139f92c4860f4872f13f05f952da74d76c09435c3b67caeb54d6cdf22e535ac1148e0
Homepage: https://git.kernel.org/pub/scm/devel/pahole/pahole.git
Description-en: set of advanced DWARF utilities
This package contains tools that use the DWARF debugging information
inserted in ELF binaries by the compiler. This information is used by
debuggers (e.g. GDB), and other tools such as systemtap.
.
Utilities in the dwarves suite include:
.
- pahole: finds alignment holes in structs and classes in languages
such as C/C++, CPU cacheline alignment. Helps repack those structures
to achieve more cache hits.
- codiff: a diff like tool to compare the effects changes in source
code generate on the resulting binaries
- pfunct: displays all sorts of information about functions, inlines, etc.
- pdwtags: pretty-prints DWARF information
- pglobal: lists global symbols
- prefcnt: counts DWARF tags usage
- syscse: system call sign extender
- dtagnames: lists tag names
Description-md5: f56916834da42533de4999daa9a31a25