How To Install dahdi-tools on CentOS 8
Introduction
In this tutorial we learn how to install dahdi-tools
on CentOS 8.
What is dahdi-tools
DAHDI stands for Digium Asterisk Hardware Device Interface. This package contains the userspace tools to configure the DAHDI kernel modules. DAHDI is the replacement for Zaptel, which must be renamed due to trademark issues.
We can use yum
or dnf
to install dahdi-tools
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dahdi-tools.
Install dahdi-tools on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install dahdi-tools
using dnf
by running the following command:
sudo dnf -y install dahdi-tools
Install dahdi-tools on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install dahdi-tools
using yum
by running the following command:
sudo yum -y install dahdi-tools
How To Uninstall dahdi-tools on CentOS 8
To uninstall only the dahdi-tools
package we can use the following command:
sudo dnf remove dahdi-tools
dahdi-tools Package Contents on CentOS 8
/etc/bash_completion.d/dahdi
/etc/dahdi
/etc/dahdi/assigned-spans.conf.sample
/etc/dahdi/modules.sample
/etc/dahdi/span-types.conf.sample
/etc/dahdi/system.conf.sample
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/41dcf7f8576c2a30da39a66a7244ad1d4687de
/usr/lib/.build-id/62
/usr/lib/.build-id/62/6d7859eb6e4e3e35367eb6f15c2b239f8d0017
/usr/lib/.build-id/80
/usr/lib/.build-id/80/25d0f59cf1f703a328ee0608ad8af6410393a1
/usr/lib/.build-id/81
/usr/lib/.build-id/81/e678005c9445712003b1cf9ac44b6d7aa0b621
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/bbcea068d697e770a9dc35d9b72f34dbd254dd
/usr/lib/.build-id/b5/e2f150b9f2a1b7d3a721e5f9b79eabaacd5e83
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/b4663c3a0538a2331e509d9402d81f4fb25f8d
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/b20bf24755129419d7853c1fd3c610bbb25f1f
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/031e57b7de0c6d158d6b9d4caf75ac54c68126
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/e9c6273f54979967eb900954da7e6a46b2dc2b
/usr/lib/.build-id/db
/usr/lib/.build-id/db/7de5581bffd3903ae6cefa599eb7fd1b6796ab
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/efdc24c7b238716cd26cd0836d019801c044e8
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/ac06866059fa434e70c115dd8a03ff76580647
/usr/lib/systemd/system/dahdi.service
/usr/lib/udev/rules.d/dahdi.rules
/usr/lib/udev/rules.d/xpp.rules
/usr/sbin/astribank_allow
/usr/sbin/astribank_hexload
/usr/sbin/astribank_is_starting
/usr/sbin/astribank_tool
/usr/sbin/dahdi_cfg
/usr/sbin/dahdi_genconf
/usr/sbin/dahdi_hardware
/usr/sbin/dahdi_maint
/usr/sbin/dahdi_monitor
/usr/sbin/dahdi_registration
/usr/sbin/dahdi_scan
/usr/sbin/dahdi_span_assignments
/usr/sbin/dahdi_span_types
/usr/sbin/dahdi_speed
/usr/sbin/dahdi_test
/usr/sbin/dahdi_tool
/usr/sbin/dahdi_waitfor_span_assignments
/usr/sbin/fxotune
/usr/sbin/lsdahdi
/usr/sbin/twinstar
/usr/sbin/xpp_blink
/usr/sbin/xpp_sync
/usr/sbin/xtalk_send
/usr/share/dahdi
/usr/share/dahdi/astribank_hook
/usr/share/dahdi/dahdi_auto_assign_compat
/usr/share/dahdi/dahdi_handle_device
/usr/share/dahdi/dahdi_span_config
/usr/share/dahdi/handle_device.d
/usr/share/dahdi/handle_device.d/10-span-types
/usr/share/dahdi/handle_device.d/20-span-assignments
/usr/share/dahdi/span_config.d
/usr/share/dahdi/span_config.d/10-dahdi-cfg
/usr/share/dahdi/span_config.d/20-fxotune
/usr/share/dahdi/span_config.d/50-asterisk
/usr/share/dahdi/waitfor_xpds
/usr/share/dahdi/xpp_fxloader
/usr/share/doc/dahdi-tools
/usr/share/doc/dahdi-tools/README
/usr/share/licenses/dahdi-tools
/usr/share/licenses/dahdi-tools/LICENSE
/usr/share/licenses/dahdi-tools/LICENSE.LGPL
/usr/share/man/man8/astribank_allow.8.gz
/usr/share/man/man8/astribank_hexload.8.gz
/usr/share/man/man8/astribank_is_starting.8.gz
/usr/share/man/man8/astribank_tool.8.gz
/usr/share/man/man8/dahdi_cfg.8.gz
/usr/share/man/man8/dahdi_genconf.8.gz
/usr/share/man/man8/dahdi_hardware.8.gz
/usr/share/man/man8/dahdi_maint.8.gz
/usr/share/man/man8/dahdi_monitor.8.gz
/usr/share/man/man8/dahdi_registration.8.gz
/usr/share/man/man8/dahdi_scan.8.gz
/usr/share/man/man8/dahdi_span_assignments.8.gz
/usr/share/man/man8/dahdi_span_types.8.gz
/usr/share/man/man8/dahdi_test.8.gz
/usr/share/man/man8/dahdi_tool.8.gz
/usr/share/man/man8/dahdi_waitfor_span_assignments.8.gz
/usr/share/man/man8/fxotune.8.gz
/usr/share/man/man8/lsdahdi.8.gz
/usr/share/man/man8/twinstar.8.gz
/usr/share/man/man8/xpp_blink.8.gz
/usr/share/man/man8/xpp_sync.8.gz
/usr/share/man/man8/xtalk_send.8.gz
/usr/share/perl5/vendor_perl/Dahdi
/usr/share/perl5/vendor_perl/Dahdi.pm
/usr/share/perl5/vendor_perl/Dahdi/Chans.pm
/usr/share/perl5/vendor_perl/Dahdi/Config
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/Assignedspans.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/Chandahdi.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/Freepbxdb.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/Modules.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/Spantypes.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/System.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/Unicall.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/Users.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Gen/Xpporder.pm
/usr/share/perl5/vendor_perl/Dahdi/Config/Params.pm
/usr/share/perl5/vendor_perl/Dahdi/Hardware
/usr/share/perl5/vendor_perl/Dahdi/Hardware.pm
/usr/share/perl5/vendor_perl/Dahdi/Hardware/PCI.pm
/usr/share/perl5/vendor_perl/Dahdi/Hardware/USB.pm
/usr/share/perl5/vendor_perl/Dahdi/Span.pm
/usr/share/perl5/vendor_perl/Dahdi/Utils.pm
/usr/share/perl5/vendor_perl/Dahdi/Xpp
/usr/share/perl5/vendor_perl/Dahdi/Xpp.pm
/usr/share/perl5/vendor_perl/Dahdi/Xpp/Line.pm
/usr/share/perl5/vendor_perl/Dahdi/Xpp/Mpp.pm
/usr/share/perl5/vendor_perl/Dahdi/Xpp/Xbus.pm
/usr/share/perl5/vendor_perl/Dahdi/Xpp/Xpd.pm
References
Summary
In this tutorial we learn how to install dahdi-tools
on CentOS 8 using yum and dnf.