How To Install rubygem-algorithms on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-algorithms
on Fedora 36.
What is rubygem-algorithms
Ruby Gem adding support for various data structures and algorithms Heap, Priority Queue, Deque, Stack, Queue, Red-Black Trees, Splay Trees, sorting algorithms, and more.
We can use yum
or dnf
to install rubygem-algorithms
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-algorithms.
Install rubygem-algorithms 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-algorithms
using dnf
by running the following command:
sudo dnf -y install rubygem-algorithms
Install rubygem-algorithms 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-algorithms
using yum
by running the following command:
sudo yum -y install rubygem-algorithms
How To Uninstall rubygem-algorithms on Fedora 36
To uninstall only the rubygem-algorithms
package we can use the following command:
sudo dnf remove rubygem-algorithms
rubygem-algorithms Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/4846b3351f301b16a4a290f35d96b1e0ce3e13
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/2915b688951574f941254bf14810c7467607fc
/usr/lib/.build-id/53
/usr/lib/.build-id/53/21df272dbed5c032a8f4314bcb460b47283dc7
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/56283481664e7947a5fbebeee2588461d928e4
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/d8e76f5d18df1be010cac2fd15dcbdda6799e7
/usr/lib64/gems/ruby/algorithms-0.6.1
/usr/lib64/gems/ruby/algorithms-0.6.1/CBst.so
/usr/lib64/gems/ruby/algorithms-0.6.1/CDeque.so
/usr/lib64/gems/ruby/algorithms-0.6.1/CRBTreeMap.so
/usr/lib64/gems/ruby/algorithms-0.6.1/CSplayTreeMap.so
/usr/lib64/gems/ruby/algorithms-0.6.1/CString.so
/usr/lib64/gems/ruby/algorithms-0.6.1/gem.build_complete
/usr/share/gems/gems/algorithms-0.6.1
/usr/share/gems/gems/algorithms-0.6.1/Manifest
/usr/share/gems/gems/algorithms-0.6.1/benchmarks
/usr/share/gems/gems/algorithms-0.6.1/benchmarks/deque.rb
/usr/share/gems/gems/algorithms-0.6.1/benchmarks/sorts.rb
/usr/share/gems/gems/algorithms-0.6.1/benchmarks/treemaps.rb
/usr/share/gems/gems/algorithms-0.6.1/lib
/usr/share/gems/gems/algorithms-0.6.1/lib/algorithms
/usr/share/gems/gems/algorithms-0.6.1/lib/algorithms.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/algorithms/search.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/algorithms/sort.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/algorithms/string.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/deque.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/heap.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/kd_tree.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/priority_queue.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/queue.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/rb_tree_map.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/splay_tree_map.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/stack.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/suffix_array.rb
/usr/share/gems/gems/algorithms-0.6.1/lib/containers/trie.rb
/usr/share/gems/specifications/algorithms-0.6.1.gemspec
References
Summary
In this tutorial we learn how to install rubygem-algorithms
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).