How To Install rubygem-racc on Fedora 36

In this tutorial we learn how to install rubygem-racc in Fedora 36. rubygem-racc is LALR(1) parser generator

Introduction

In this tutorial we learn how to install rubygem-racc on Fedora 36.

What is rubygem-racc

Racc is a LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program.

We can use yum or dnf to install rubygem-racc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-racc.

Install rubygem-racc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rubygem-racc

Install rubygem-racc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rubygem-racc

How To Uninstall rubygem-racc on Fedora 36

To uninstall only the rubygem-racc package we can use the following command:

sudo dnf remove rubygem-racc

rubygem-racc Package Contents on Fedora 36

/usr/bin/racc
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/b1a2c1c9c04ce1abfa483b96b81fb7be16647b
/usr/lib64/gems/ruby/racc-1.6.0
/usr/lib64/gems/ruby/racc-1.6.0/gem.build_complete
/usr/lib64/gems/ruby/racc-1.6.0/racc
/usr/lib64/gems/ruby/racc-1.6.0/racc/cparse.so
/usr/share/gems/gems/racc-1.6.0
/usr/share/gems/gems/racc-1.6.0/COPYING
/usr/share/gems/gems/racc-1.6.0/ChangeLog
/usr/share/gems/gems/racc-1.6.0/README.ja.rdoc
/usr/share/gems/gems/racc-1.6.0/README.rdoc
/usr/share/gems/gems/racc-1.6.0/bin
/usr/share/gems/gems/racc-1.6.0/bin/racc
/usr/share/gems/gems/racc-1.6.0/lib
/usr/share/gems/gems/racc-1.6.0/lib/racc
/usr/share/gems/gems/racc-1.6.0/lib/racc.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/compat.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/debugflags.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/exception.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/grammar.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/grammarfileparser.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/info.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/iset.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/logfilegenerator.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/parser-text.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/parser.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/parserfilegenerator.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/sourcetext.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/state.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/statetransitiontable.rb
/usr/share/gems/gems/racc-1.6.0/lib/racc/static.rb
/usr/share/gems/specifications/racc-1.6.0.gemspec

References

Summary

In this tutorial we learn how to install rubygem-racc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).