How To Install mingw32-libssh2 on Fedora 36

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

Introduction

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

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

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

sudo dnf -y install mingw32-libssh2

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

sudo yum -y install mingw32-libssh2

How To Uninstall mingw32-libssh2 on Fedora 36

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

sudo dnf remove mingw32-libssh2

mingw32-libssh2 Package Contents on Fedora 36

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

References

Summary

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