• Contact Us
  • copyright
  • About Us
  • Privacy Policy
  • Devops
  • Linux
Globedrill

Error : sshpass is needed by ansible

Linux/16 May, 20/580/0
Linux

Error : sshpass is needed by ansible

 

Install error : sshpass is needed by ansible

Got the above error while installing Ansible on Fedora server. Do the below steps to install the sshpass dependency on Fedora server.

1. Log into your Fedora server as ‘root’ user or sudo user

2. Install the missing dependencies using ‘dnf’command

dnf install sshpass

OR

sudo dnf install sshpass

3. Enter ‘y’ and hit enter if installation ask for confirmation.
 

[root@fedora /]# dnf install sshpass
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
sshpass x86_64 1.06-8.fc31 fedora 26 k

Transaction Summary
===================================================================================================
Install 1 Package

Total download size: 26 k
Installed size: 43 k
Is this ok [y/N]: y

 
 

How to download and install sshpass rpm

 
1. Log into Fedora31 x86_64 server as root user

2. Download sshpass package using wget command

You can download sshpass rpm file from fedoraproject.org website.
 

cd /usr/local/src/

wget https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/31/Everything/x86_64/os/Packages/s/sshpass-1.06-8.fc31.x86_64.rpm

 
3. Install sshpass using rpm command or dnf command

rpm -ivh sshpass-1.06-8.fc31.x86_64.rpm

 

# rpm -ivh sshpass-1.06-8.fc31.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
Updating / installing…
1:sshpass-1.06-8.fc31 ################################# [100%]

 
You must manually install the dependencies, if you are installing sshpass package using rpm command.

sshpass package need glibc dependency.

Command to install sshpass using dnf command :
 

dnf install sshpass-1.06-8.fc31.x86_64.rpm

 

Leave a Reply Cancel reply

.

About Us

Globedrill.com is a website that publishes articles related to Linux and Devops. Globedrill was started on April 2016.

Contact Us

Email : globedrill.c@gmail.com

Globedrill

Copyright © 2016 Globedrill. All Rights Reserved. The content in this website is copyrighted to Globedrill.com and may not be republished either online or offline.

  • About Us
  • Privacy Policy
  • Contact Us
  • copyright