How To Install libssh2-docs on CentOS 7

In this tutorial we learn how to install libssh2-docs on CentOS 7. libssh2-docs is Documentation for libssh2

Introduction

In this tutorial we learn how to install libssh2-docs on CentOS 7.

What is libssh2-docs

The libssh2-docs package contains man pages and examples for developing applications that use libssh2.

We can use yum or dnf to install libssh2-docs on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libssh2-docs.

Install libssh2-docs on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libssh2-docs

Install libssh2-docs on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libssh2-docs

How To Uninstall libssh2-docs on CentOS 7

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

sudo dnf remove libssh2-docs

References

Summary

In this tutorial we learn how to install libssh2-docs on CentOS 7 using yum and dnf.