How to Install and Uninstall electric-fence Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 07,2024

1. Install "electric-fence" package

Please follow the guidance below to install electric-fence on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install electric-fence

2. Uninstall "electric-fence" package

Please follow the guidelines below to uninstall electric-fence on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove electric-fence $ sudo apt autoclean && sudo apt autoremove

3. Information about the electric-fence package on Ubuntu 20.10 (Groovy Gorilla)

Package: electric-fence
Architecture: amd64
Version: 2.2.5
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthew Vernon
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 71
Depends: libc6 (>= 2.14)
Filename: pool/universe/e/electric-fence/electric-fence_2.2.5_amd64.deb
Size: 19240
MD5sum: 30a0a54503aada950e0174e21106f342
SHA1: 1a0f3d16375dd69d9a20f55965bb17f016b0b07e
SHA256: 214f63bde8695edd8893dbbc82963c796aa3aa12b041d604eb944eaaa845412a
SHA512: 877cbb2c33967a44ee94adf885a3268fa0b640d988d42912419032c0402f59de080f37a85df4dd3381b384a2c8fd7c11478a728843aac5a52da3f2ed3fca682e
Description-en: A malloc(3) debugger
Electric Fence is a debugger that uses virtual memory hardware to detect
illegal memory accesses. It can detect two common programming bugs: software
that overruns or underruns the boundaries of a malloc() memory allocation,
and software that touches a memory allocation that has been released by
free().
.
Unlike other malloc() debuggers, Electric Fence will detect read accesses as
well as writes, and it will stop and pinpoint the exact instruction that
causes an error. It is not as thorough as Purify, however.
.
In order to debug a program it needs to be linked with Electric Fence's
library or dynamic linking needs to be used; README.Debian explains that in
detail.
Description-md5: 81225779998561422a8be51affd47171