How to Install and Uninstall libelf-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 13,2024

1. Install "libelf-dev" package

Please follow the guidelines below to install libelf-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libelf-dev

2. Uninstall "libelf-dev" package

This guide let you learn how to uninstall libelf-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libelf-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libelf-dev
Architecture: amd64
Version: 0.176-1.1ubuntu0.1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: elfutils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Kurt Roeckx
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 373
Depends: libelf1 (= 0.176-1.1ubuntu0.1), zlib1g-dev
Conflicts: libelfg0-dev
Filename: pool/main/e/elfutils/libelf-dev_0.176-1.1ubuntu0.1_amd64.deb
Size: 57072
MD5sum: c2cb2ac17fd194c6a316511aaac98fcc
SHA1: 60dd295845b3887aa720b771802a3b8357c03776
SHA256: a6d55687ae718f06ebf5e24ddfc05046e57ba01c3f4bdbac67039d5d7b7f4770
SHA512: 588e2f9741b0eb83c8992079dd3fd91428ec037ce4349b194c90bfc246a5ad4869f3f1d45adf8bf10c964a29247e5b54dbfb1fa2e3716b0a8ebea6c27059cea9
Homepage: https://sourceware.org/elfutils/
Description: libelf1 development libraries and header files
Description-md5: 987fe60edac82d9ad80df9bdb9c08f33

Package: libelf-dev
Architecture: amd64
Version: 0.176-1.1build1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: elfutils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Kurt Roeckx
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 373
Depends: libelf1 (= 0.176-1.1build1), zlib1g-dev
Conflicts: libelfg0-dev
Filename: pool/main/e/elfutils/libelf-dev_0.176-1.1build1_amd64.deb
Size: 57048
MD5sum: 2eceac1c8129b856128f20e5879ffb93
SHA1: f6b4f1fa95c9c4707c8852e23ead20a0c77befa5
SHA256: 8b1dbbb8f2f96ce44bce709d1cfa25ccff96ea4f4b34b1fc707dfa1b0f70ebde
Homepage: https://sourceware.org/elfutils/
Description: libelf1 development libraries and header files
Description-md5: 987fe60edac82d9ad80df9bdb9c08f33