How To Install rubygem-nenv on Fedora 36

In this tutorial we learn how to install rubygem-nenv in Fedora 36. rubygem-nenv is Convenience wrapper for Ruby’s ENV

Introduction

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

What is rubygem-nenv

Using ENV is like using raw SQL statements in your code. We all know how that ends…

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

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

sudo dnf -y install rubygem-nenv

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

sudo yum -y install rubygem-nenv

How To Uninstall rubygem-nenv on Fedora 36

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

sudo dnf remove rubygem-nenv

rubygem-nenv Package Contents on Fedora 36

/usr/share/gems/gems/nenv-0.3.0
/usr/share/gems/gems/nenv-0.3.0/LICENSE.txt
/usr/share/gems/gems/nenv-0.3.0/README.md
/usr/share/gems/gems/nenv-0.3.0/lib
/usr/share/gems/gems/nenv-0.3.0/lib/nenv
/usr/share/gems/gems/nenv-0.3.0/lib/nenv.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/autoenvironment.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/builder.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment/dumper
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment/dumper.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment/dumper/default.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment/loader
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment/loader.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment/loader/default.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/environment/loader/predicate.rb
/usr/share/gems/gems/nenv-0.3.0/lib/nenv/version.rb
/usr/share/gems/specifications/nenv-0.3.0.gemspec

References

Summary

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