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

Last updated: May 19,2024

1. Install "crash" package

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

$ sudo apt update $ sudo apt install crash

2. Uninstall "crash" package

This tutorial shows how to uninstall crash on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove crash $ sudo apt autoclean && sudo apt autoremove

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

Package: crash
Architecture: amd64
Version: 7.2.9-2ubuntu2
Priority: optional
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Troy Heber
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8896
Depends: libc6 (>= 2.33), liblzo2-2 (>= 2.02), libncurses6 (>= 6), libsnappy1v5 (>= 1.1.8), libtinfo6 (>= 6), zlib1g (>= 1:1.2.0), binutils
Suggests: kexec-tools, makedumpfile
Filename: pool/main/c/crash/crash_7.2.9-2ubuntu2_amd64.deb
Size: 2842540
MD5sum: f154707c353d93cd52b57e87fa245d1c
SHA1: c4867ea68427932f8e95aed20377ed4537d603f6
SHA256: 99c29e20d4b0af62fef6ab14205d7b68a041efd68377084735609bf711ad6e90
SHA512: 1839a2658ebbfe396b6ca7959df3824ae73bda314089a1657850416311fb5f61b380e52f3a4d32630673f18172813639f8fde0ccc8426cb817f70a90bb0f94ca
Homepage: https://crash-utility.github.io/
Description-en: kernel debugging utility, allowing gdb like syntax
The core analysis suite is a self-contained tool that can be used to
investigate either live systems, or multiple different core dump formats
including kdump, LKCD, netdump and diskdump.
.
o The tool is loosely based on the SVR4 crash command, but has been
completely integrated with gdb in order to be able to display
formatted kernel data structures, disassemble source code, etc.
.
o The current set of available commands consist of common kernel core
analysis tools such as a context-specific stack traces, source code
disassembly, kernel variable displays, memory display, dumps of
linked-lists, etc. In addition, any gdb command may be entered,
which in turn will be passed onto the gdb module for execution.
.
o There are several commands that delve deeper into specific kernel
subsystems, which also serve as templates for kernel developers
to create new commands for analysis of a specific area of interest.
Adding a new command is a simple affair, and a quick recompile
adds it to the command menu.
.
o The intent is to make the tool independent of Linux version dependencies,
building in recognition of major kernel code changes so as to adapt to
new kernel versions, while maintaining backwards compatibility.
Description-md5: 62a3af04681a29149ddd988c1db996db