How To Install libssh on Rocky Linux 8
Introduction
In this tutorial we learn how to install libssh
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libssh.
Install libssh on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the libssh
package we can use the following command:
sudo dnf remove libssh
libssh Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/73757ae0259d4b84d8b78eafa5d14608b6c757
/usr/lib64/libssh.so.4
/usr/lib64/libssh.so.4.8.5
/usr/lib64/libssh_threads.so.4
/usr/lib64/libssh_threads.so.4.8.5
/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
/usr/lib/.build-id
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/9cdbb8377a8f900fac4987ead56b66d5546d2e
/usr/lib/libssh.so.4
/usr/lib/libssh.so.4.8.5
/usr/lib/libssh_threads.so.4
/usr/lib/libssh_threads.so.4.8.5
/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 Rocky Linux 8 using yum and dnf.