首页 > 技术文章 > 安装sshpass:No package sshpass available

minglee 2018-05-29 17:24 原文

安装sshpass的时候,报了如下错误:

No Package sshpass available

更改软件源之后也无效。直到看到StackOverFlow上的一个问题:https://stackoverflow.com/questions/25329501/installing-openssh-on-centos/42632851#42632851?newreg=85a7a53a3f7842a194f0042570672fa0

尝试了下:

$ sudo yum install epel-release

安装完之后,尝试安装sshpass,果然可以,问题搞定。

推荐阅读