How To Install libssh2.i686 on Amazon Linux 2

In this tutorial we learn how to install libssh2.i686 in Amazon Linux 2. libssh2.i686 is A library implementing the SSH2 protocol

Introduction

In this tutorial we learn how to install libssh2.i686 on Amazon Linux 2.

What is libssh2.i686

libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10).

We can use yum to install libssh2.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libssh2.i686.

Install libssh2.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libssh2.i686 using yum by running the following command:

sudo yum -y install libssh2.i686

How To Uninstall libssh2.i686 on Amazon Linux 2

To uninstall only the libssh2.i686 package we can use the following command:

sudo yum remove libssh2.i686

libssh2.i686 Package Contents on Amazon Linux 2

/usr/lib/libssh2.so.1
/usr/lib/libssh2.so.1.0.1
/usr/share/doc/libssh2-1.4.3
/usr/share/doc/libssh2-1.4.3/AUTHORS
/usr/share/doc/libssh2-1.4.3/COPYING
/usr/share/doc/libssh2-1.4.3/ChangeLog
/usr/share/doc/libssh2-1.4.3/NEWS
/usr/share/doc/libssh2-1.4.3/README

References

Summary

In this tutorial we learn how to install libssh2.i686 on Amazon Linux 2 using yum.