How To Install libssh2 on Fedora 36

In this tutorial we learn how to install libssh2 in Fedora 36. libssh2 is A library implementing the SSH2 protocol

Introduction

In this tutorial we learn how to install libssh2 on Fedora 36.

What is libssh2

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 or dnf to install libssh2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libssh2.

Install libssh2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libssh2

Install libssh2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libssh2

How To Uninstall libssh2 on Fedora 36

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

sudo dnf remove libssh2

libssh2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/e04e9ed0eab12a0eadfef273666c2000bd8273
/usr/lib/libssh2.so.1
/usr/lib/libssh2.so.1.0.1
/usr/share/doc/libssh2
/usr/share/doc/libssh2/AUTHORS
/usr/share/doc/libssh2/README
/usr/share/doc/libssh2/RELEASE-NOTES
/usr/share/licenses/libssh2
/usr/share/licenses/libssh2/COPYING

References

Summary

In this tutorial we learn how to install libssh2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libssh2 on Fedora 36” linkTitle: “libssh2” type: “docs” description: “In this tutorial we learn how to install libssh2 in Fedora 36. libssh2 is A library implementing the SSH2 protocol” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libssh2-featured.png

Introduction

In this tutorial we learn how to install libssh2 on Fedora 36.

What is libssh2

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 or dnf to install libssh2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libssh2.

Install libssh2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libssh2

Install libssh2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libssh2

How To Uninstall libssh2 on Fedora 36

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

sudo dnf remove libssh2

libssh2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/ecb3d98c1ed5326ab7041f660384d7d3b070df
/usr/lib64/libssh2.so.1
/usr/lib64/libssh2.so.1.0.1
/usr/share/doc/libssh2
/usr/share/doc/libssh2/AUTHORS
/usr/share/doc/libssh2/README
/usr/share/doc/libssh2/RELEASE-NOTES
/usr/share/licenses/libssh2
/usr/share/licenses/libssh2/COPYING

References

Summary

In this tutorial we learn how to install libssh2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).