How To Install graphviz-ruby on Fedora 36

In this tutorial we learn how to install graphviz-ruby in Fedora 36. graphviz-ruby is Ruby extension for graphviz

Introduction

In this tutorial we learn how to install graphviz-ruby on Fedora 36.

What is graphviz-ruby

Ruby extension for graphviz.

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

Install graphviz-ruby 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 graphviz-ruby using dnf by running the following command:

sudo dnf -y install graphviz-ruby

Install graphviz-ruby 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 graphviz-ruby using yum by running the following command:

sudo yum -y install graphviz-ruby

How To Uninstall graphviz-ruby on Fedora 36

To uninstall only the graphviz-ruby package we can use the following command:

sudo dnf remove graphviz-ruby

graphviz-ruby Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/55/d3795d3504407ddc1a3170a1f6c4e1b76cd436
/usr/lib/.build-id/55/d3795d3504407ddc1a3170a1f6c4e1b76cd436.1
/usr/lib64/graphviz/ruby
/usr/lib64/graphviz/ruby/gv.so
/usr/lib64/graphviz/ruby/libgv_ruby.so
/usr/lib64/ruby/vendor_ruby
/usr/lib64/ruby/vendor_ruby/gv.so
/usr/share/man/man3/gv.3ruby.gz

References

Summary

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