How to Install and Uninstall libelf-dev Package on Debian 11 (Bullseye)

Last updated: May 13,2024

1. Install "libelf-dev" package

Please follow the guidelines below to install libelf-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libelf-dev

2. Uninstall "libelf-dev" package

This guide covers the steps necessary to uninstall libelf-dev on Debian 11 (Bullseye):

$ sudo apt remove libelf-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libelf-dev package on Debian 11 (Bullseye)

Package: libelf-dev
Source: elfutils
Version: 0.183-1
Installed-Size: 364
Maintainer: Debian Elfutils Maintainers
Architecture: amd64
Depends: libelf1 (= 0.183-1), zlib1g-dev
Conflicts: libelfg0-dev
Description: libelf1 development libraries and header files
Description-md5: 987fe60edac82d9ad80df9bdb9c08f33
Multi-Arch: same
Homepage: https://sourceware.org/elfutils/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/e/elfutils/libelf-dev_0.183-1_amd64.deb
Size: 75580
MD5sum: 86aa9dd0c1c6d0c21363b2f096ea9f3e
SHA256: 9b711a3a40b65a3ab435509bc0608d3ac3526744ad9ccbc28cad38e8bce794db