How To Install rubygem-acts_as_list on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-acts_as_list
on Fedora 36.
What is rubygem-acts_as_list
This “acts_as” extension provides the capabilities for sorting and reordering a number of objects in a list. The class that has this specified needs to have a “position” column defined as an integer on the mapped database table.
We can use yum
or dnf
to install rubygem-acts_as_list
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-acts_as_list.
Install rubygem-acts_as_list 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-acts_as_list
using dnf
by running the following command:
sudo dnf -y install rubygem-acts_as_list
Install rubygem-acts_as_list 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-acts_as_list
using yum
by running the following command:
sudo yum -y install rubygem-acts_as_list
How To Uninstall rubygem-acts_as_list on Fedora 36
To uninstall only the rubygem-acts_as_list
package we can use the following command:
sudo dnf remove rubygem-acts_as_list
rubygem-acts_as_list Package Contents on Fedora 36
/usr/share/gems/gems/acts_as_list-1.0.4
/usr/share/gems/gems/acts_as_list-1.0.4/MIT-LICENSE
/usr/share/gems/gems/acts_as_list-1.0.4/lib
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/active_record.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/add_new_at_method_definer.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/aux_method_definer.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/callback_definer.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/list.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/no_update.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/position_column_method_definer.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/scope_method_definer.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/sequential_updates_method_definer.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/active_record/acts/top_of_list_method_definer.rb
/usr/share/gems/gems/acts_as_list-1.0.4/lib/acts_as_list/version.rb
/usr/share/gems/specifications/acts_as_list-1.0.4.gemspec
References
Summary
In this tutorial we learn how to install rubygem-acts_as_list
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).