安装yumdownloader命令
yum install yum-utils -y
查看系统是否安装了traceroute
rpm -q traceroute
下载rpm包
yum install traceroute --downloadonly --downloaddir=/usr/local
拷贝rpm包到离线环境,执行安装命令
rpm -Uvh --force --nodeps *.rpm
来源地址:https://blog.csdn.net/gdczcwq/article/details/127986487