ping6: command not found.
Install ping6 command on Fedora server
# ping
bash: ping6: command not found
Got the above error on Fedora server. Do the below steps to install ping6 command on fedora server. Ping6 command is provided by iputils package.
1. Log into fedora server as root user
2. Install iputils package using dnf command
# dnf install iputils
OR
# sudo dnf install iputils
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
iputils x86_64 20190515-5.fc31 updates 141 k
Transaction Summary
===================================================================================================
Install 1 Package
Total download size: 141 k
Installed size: 386 k
Is this ok [y/N]: y
Download and install iputils rpm on Fedora server
1. Log into Fedora server as ‘root’ user
2. Download iputils rpm from fedoraproject.org using wget command
wget https://download-ib01.fedoraproject.org/pub/fedora/linux/updates/31/Everything/x86_64/Packages/i/iputils-20190515-5.fc31.x86_64.rpm
3. Install the below dependencoes and then install iputils using rpm command
dependencies :
glibc
libidn2
openssl-libs
libcap
#rpm -ivh iputils-20190515-5.fc31.x86_64.rpm
ping6 command usage
ping6 domain.com
ping6 ipv6-address