How To Install swig-doc on AlmaLinux 8

In this tutorial we learn how to install swig-doc in AlmaLinux 8. swig-doc is Documentation files for SWIG

Introduction

In this tutorial we learn how to install swig-doc on AlmaLinux 8.

What is swig-doc

This package contains documentation for SWIG and useful examples

We can use yum or dnf to install swig-doc on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install swig-doc.

Install swig-doc on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install swig-doc

Install swig-doc on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install swig-doc

How To Uninstall swig-doc on AlmaLinux 8

To uninstall only the swig-doc package we can use the following command:

sudo dnf remove swig-doc

References

Summary

In this tutorial we learn how to install swig-doc on AlmaLinux 8 using yum and dnf.