How To Install ElectricFence on Fedora 36
Introduction
In this tutorial we learn how to install ElectricFence
on Fedora 36.
What is ElectricFence
ElectricFence is a utility for C programming and debugging. ElectricFence uses the virtual memory hardware of your system to detect when software overruns malloc() buffer boundaries, and/or to detect any accesses of memory released by free(). ElectricFence will then stop the program on the first instruction that caused a bounds violation and you can use your favorite debugger to display the offending statement. Install ElectricFence if you need a debugger to find malloc() violations.
We can use yum
or dnf
to install ElectricFence
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ElectricFence.
Install ElectricFence on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ElectricFence
using dnf
by running the following command:
sudo dnf -y install ElectricFence
Install ElectricFence on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ElectricFence
using yum
by running the following command:
sudo yum -y install ElectricFence
How To Uninstall ElectricFence on Fedora 36
To uninstall only the ElectricFence
package we can use the following command:
sudo dnf remove ElectricFence
ElectricFence Package Contents on Fedora 36
/usr/bin/ef
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/689f6b8cab8d800a57b9ec6eb317e328488f80
/usr/lib/libefence.a
/usr/lib/libefence.so
/usr/lib/libefence.so.0
/usr/lib/libefence.so.0.0
/usr/share/doc/ElectricFence
/usr/share/doc/ElectricFence/CHANGES
/usr/share/doc/ElectricFence/COPYING
/usr/share/doc/ElectricFence/README
/usr/share/man/man1/ef.1.gz
/usr/share/man/man3/efence.3.gz
/usr/share/man/man3/libefence.3.gz
References
Summary
In this tutorial we learn how to install ElectricFence
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install ElectricFence on Fedora 36” linkTitle: “ElectricFence” type: “docs” description: “In this tutorial we learn how to install ElectricFence in Fedora 36. ElectricFence is A debugger which detects memory allocation violations” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ElectricFence-featured.png
Introduction
In this tutorial we learn how to install ElectricFence
on Fedora 36.
What is ElectricFence
ElectricFence is a utility for C programming and debugging. ElectricFence uses the virtual memory hardware of your system to detect when software overruns malloc() buffer boundaries, and/or to detect any accesses of memory released by free(). ElectricFence will then stop the program on the first instruction that caused a bounds violation and you can use your favorite debugger to display the offending statement. Install ElectricFence if you need a debugger to find malloc() violations.
We can use yum
or dnf
to install ElectricFence
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ElectricFence.
Install ElectricFence on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ElectricFence
using dnf
by running the following command:
sudo dnf -y install ElectricFence
Install ElectricFence on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ElectricFence
using yum
by running the following command:
sudo yum -y install ElectricFence
How To Uninstall ElectricFence on Fedora 36
To uninstall only the ElectricFence
package we can use the following command:
sudo dnf remove ElectricFence
ElectricFence Package Contents on Fedora 36
/usr/bin/ef
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/54c3884860d2ad606621b6a7a715957286dd04
/usr/lib64/libefence.a
/usr/lib64/libefence.so
/usr/lib64/libefence.so.0
/usr/lib64/libefence.so.0.0
/usr/share/doc/ElectricFence
/usr/share/doc/ElectricFence/CHANGES
/usr/share/doc/ElectricFence/COPYING
/usr/share/doc/ElectricFence/README
/usr/share/man/man1/ef.1.gz
/usr/share/man/man3/efence.3.gz
/usr/share/man/man3/libefence.3.gz
References
Summary
In this tutorial we learn how to install ElectricFence
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).