How To Install batctl on CentOS 7
Introduction
In this tutorial we learn how to install batctl
on CentOS 7.
What is batctl
batctl offers a convenient way to configure the batman-adv kernel module as well as displaying debug information such as originator tables, translation tables and the debug log. In combination with a bat-hosts file batctl allows the use of host names instead of MAC addresses. B.A.T.M.A.N. advanced operates on layer 2. Thus all hosts participating in the virtual switched network are transparently connected together for all protocols above layer 2. Therefore the common diagnosis tools do not work as expected. To overcome these problems batctl contains the commands ping, traceroute, tcpdump which provide similar functionality to the normal ping(1), traceroute(1), tcpdump(1) commands, but modified to layer 2 behavior or using the B.A.T.M.A.N. advanced protocol.
We can use yum
or dnf
to install batctl
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install batctl.
Install batctl on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install batctl
using yum
by running the following command:
Install batctl on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install batctl
using dnf
by running the following command:
How To Uninstall batctl on CentOS 7
To uninstall only the batctl
package we can use the following command:
References
Summary
In this tutorial we learn how to install batctl
on CentOS 7 using yum
and dnf
.