How To Install libssh on Fedora 36

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

Introduction

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

What is libssh

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

We can use yum or dnf to install libssh on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libssh.

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

sudo dnf -y install libssh

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

sudo yum -y install libssh

How To Uninstall libssh on Fedora 36

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

sudo dnf remove libssh

libssh Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/88dc8884357041dcd174412f2cc14ce0071289
/usr/lib64/libssh.so.4
/usr/lib64/libssh.so.4.8.7
/usr/lib64/libssh_threads.so.4
/usr/lib64/libssh_threads.so.4.8.7
/usr/share/doc/libssh
/usr/share/doc/libssh/AUTHORS
/usr/share/doc/libssh/BSD
/usr/share/doc/libssh/ChangeLog
/usr/share/doc/libssh/README
/usr/share/licenses/libssh
/usr/share/licenses/libssh/COPYING

References

Summary

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