How To Install libssh2.x86_64 on Amazon Linux 2
In this tutorial we learn how to install libssh2.x86_64 in Amazon Linux 2. libssh2.x86_64 is A library implementing the SSH2 protocol
Introduction
In this tutorial we learn how to install libssh2.x86_64
on Amazon Linux 2.
What is libssh2.x86_64
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.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libssh2.x86_64.
Install libssh2.x86_64 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.x86_64
using yum
by running the following command:
sudo yum -y install libssh2.x86_64
How To Uninstall libssh2.x86_64 on Amazon Linux 2
To uninstall only the libssh2.x86_64
package we can use the following command:
sudo yum remove libssh2.x86_64
libssh2.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libssh2.so.1
/usr/lib64/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.x86_64
on Amazon Linux 2 using yum.