How To Install rubygem-yard on AlmaLinux 8
Introduction
In this tutorial we learn how to install rubygem-yard
on AlmaLinux 8.
What is rubygem-yard
YARD is a documentation generation tool for the Ruby programming language. It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions.
We can use yum
or dnf
to install rubygem-yard
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-yard.
Install rubygem-yard 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 rubygem-yard
using dnf
by running the following command:
sudo dnf -y install rubygem-yard
Install rubygem-yard 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 rubygem-yard
using yum
by running the following command:
sudo yum -y install rubygem-yard
How To Uninstall rubygem-yard on AlmaLinux 8
To uninstall only the rubygem-yard
package we can use the following command:
sudo dnf remove rubygem-yard
References
Summary
In this tutorial we learn how to install rubygem-yard
on AlmaLinux 8 using yum and dnf.