How to Install and Uninstall libelf-dev Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 23,2024

1. Install "libelf-dev" package

This tutorial shows how to install libelf-dev on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install libelf-dev

2. Uninstall "libelf-dev" package

Please follow the steps below to uninstall libelf-dev on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the libelf-dev package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libelf-dev
Architecture: amd64
Version: 0.188-1~bpo22.04.1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: elfutils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Elfutils Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 367
Depends: libelf1 (= 0.188-1~bpo22.04.1), zlib1g-dev
Conflicts: libelfg0-dev
Filename: pool/main/e/elfutils/libelf-dev_0.188-1~bpo22.04.1_amd64.deb
Size: 64792
MD5sum: 74cb75de26bda3364b781026eb1ebf13
SHA1: 582995bf337bc1a13b2ba2c32ee745917d4e7ef3
SHA256: 986f08fe5584aa7803dac48c1c4c320e85d591000836cf9173b9c4384a1c7f55
SHA512: 86668e51c443462a501576086891dd5741e13d091e03ba4d7baf4962dd10aebf0664275631fc3a3a0cf079dbd125bd5b8178ec6daa72687a687cc2b6c0aa96ba
Homepage: https://sourceware.org/elfutils/
Description: libelf1 development libraries and header files
Description-md5: 987fe60edac82d9ad80df9bdb9c08f33

Package: libelf-dev
Architecture: amd64
Version: 0.186-1build1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: elfutils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Elfutils Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 364
Depends: libelf1 (= 0.186-1build1), zlib1g-dev
Conflicts: libelfg0-dev
Filename: pool/main/e/elfutils/libelf-dev_0.186-1build1_amd64.deb
Size: 64426
MD5sum: 541bb7f8f41a15d9753868eaec0e596a
SHA1: 07de044f56e4bdaaed1dc77e1244c1cbabdaa58c
SHA256: 632e1fffff27ecbda94457c32f7168cc1c6231c38edeabc5700efa18fac33ff7
SHA512: 27a310e2797853838cd5bdeaae5954d54da18f31b9208ce5c14e83399a11aab3e3166ef59953c3a57a9868322203253c41cca842bc756a090d711a9598c110ba
Homepage: https://sourceware.org/elfutils/
Description: libelf1 development libraries and header files
Description-md5: 987fe60edac82d9ad80df9bdb9c08f33