How To Install mingw64-libssh2 on Fedora 36

In this tutorial we learn how to install mingw64-libssh2 in Fedora 36. mingw64-libssh2 is MinGW Windows library implementation of the SSH2 protocol

Introduction

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

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

Install mingw64-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 mingw64-libssh2 using dnf by running the following command:

sudo dnf -y install mingw64-libssh2

Install mingw64-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 mingw64-libssh2 using yum by running the following command:

sudo yum -y install mingw64-libssh2

How To Uninstall mingw64-libssh2 on Fedora 36

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

sudo dnf remove mingw64-libssh2

mingw64-libssh2 Package Contents on Fedora 36

/usr/share/doc/mingw64-libssh2
/usr/share/doc/mingw64-libssh2/COPYING
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssh2-1.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/libssh2.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/libssh2_publickey.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/libssh2_sftp.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libssh2.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/libssh2.pc

References

Summary

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