How To Install rubygems-devel.noarch on Amazon Linux 2

In this tutorial we learn how to install rubygems-devel.noarch in Amazon Linux 2. rubygems-devel.noarch is Macros and development tools for packaging RubyGems

Introduction

In this tutorial we learn how to install rubygems-devel.noarch on Amazon Linux 2.

What is rubygems-devel.noarch

Macros and development tools for packaging RubyGems.

We can use yum to install rubygems-devel.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rubygems-devel.noarch.

Install rubygems-devel.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygems-devel.noarch using yum by running the following command:

sudo yum -y install rubygems-devel.noarch

How To Uninstall rubygems-devel.noarch on Amazon Linux 2

To uninstall only the rubygems-devel.noarch package we can use the following command:

sudo yum remove rubygems-devel.noarch

rubygems-devel.noarch Package Contents on Amazon Linux 2

/etc/rpm/macros.rubygems

References

Summary

In this tutorial we learn how to install rubygems-devel.noarch on Amazon Linux 2 using yum.