How To Install rubygem-launchy on Fedora 36

In this tutorial we learn how to install rubygem-launchy in Fedora 36. rubygem-launchy is Helper class for cross-platform launching of applications

Introduction

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

What is rubygem-launchy

Launchy is helper class for launching cross-platform applications in a fire and forget manner. There are application concepts (browser, email client, etc) that are common across all platforms, and they may be launched differently on each platform. Launchy is here to make a common approach to launching external application from within ruby programs.

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

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

sudo dnf -y install rubygem-launchy

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

sudo yum -y install rubygem-launchy

How To Uninstall rubygem-launchy on Fedora 36

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

sudo dnf remove rubygem-launchy

rubygem-launchy Package Contents on Fedora 36

/usr/bin/launchy
/usr/share/gems/gems/launchy-2.4.3
/usr/share/gems/gems/launchy-2.4.3/LICENSE
/usr/share/gems/gems/launchy-2.4.3/bin
/usr/share/gems/gems/launchy-2.4.3/bin/launchy
/usr/share/gems/gems/launchy-2.4.3/lib
/usr/share/gems/gems/launchy-2.4.3/lib/launchy
/usr/share/gems/gems/launchy-2.4.3/lib/launchy.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/application.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/applications
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/applications/browser.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/argv.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/cli.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/deprecated.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/descendant_tracker.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/detect
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/detect.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/detect/host_os.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/detect/host_os_family.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/detect/nix_desktop_environment.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/detect/ruby_engine.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/detect/runner.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/error.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/os_family.rb
/usr/share/gems/gems/launchy-2.4.3/lib/launchy/version.rb
/usr/share/gems/specifications/launchy-2.4.3.gemspec

References

Summary

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