Install Electric Fence memory debugging tool

Install Electric Fence memory debugging tool on Fedora server

Electric Fence is a debugger which detects memory allocation violations. Do the below steps to install Electric Fence.

1. Log into Fedora server as ‘root’ user

2. Install ElectricFence using dnf command

Run the below command to install :

# dnf install ElectricFence

OR

#sudo dnf install ElectricFence
 

Install Electric Fence rpm on Fedora server

1. Log into Fedora server as ‘root’ user

2. Install glibc and libgcc dependency on your server.

3. Download Electric Fence rpm file from rpmfind.net using wget command

cd /usr/local/src

wget https://rpmfind.net/linux/fedora/linux/releases/31/Everything/x86_64/os/Packages/e/ElectricFence-2.2.2-50.fc31.i686.rpm

3. Install Electric Fence using rpm command

rpm -ivh ElectricFence-2.2.2-50.fc31.i686.rpm