How to Install and Uninstall dwz Package on openSUSE Leap

Last updated: May 18,2024

1. Install "dwz" package

This guide covers the steps necessary to install dwz on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install dwz

2. Uninstall "dwz" package

Please follow the guidelines below to uninstall dwz on openSUSE Leap:

$ sudo zypper remove dwz

3. Information about the dwz package on openSUSE Leap

Information for package dwz:
----------------------------
Repository : Main Repository
Name : dwz
Version : 0.12-150000.3.2.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 179.8 KiB
Installed : No
Status : not installed
Source package : dwz-0.12-150000.3.2.1.src
Summary : DWARF optimization and duplicate removal tool
Description :
dwz optimizes DWARF debugging information contained in ELF shared
libraries and executables for size, by replacing DWARF information
representation with equivalent smaller representation where possible,
and by reducing the amount of duplication using techniques from the
DWARF standard appendix E - creating DW_TAG_partial_unit compilation
units (CUs) for duplicated information and using DW_TAG_imported_unit
to import it into each CU that needs it.
The tool handles DWARF 32-bit format debugging sections of versions
2, 3 and 4 and GNU extensions on top of those, though using DWARF 4
or worst case DWARF 3 is strongly recommended.
When not using the -m option (multifile mode), GDB CVS snapshot (soon to be
7.5) is sufficient, when using -m option, GDB from a git branch
http://sources.redhat.com/git/?p=archer.git;a=shortlog;h=refs/heads/archer-tromey-dwz-multifile
is needed.