How To Install ruby-mecab on Fedora 36
In this tutorial we learn how to install ruby-mecab in Fedora 36. ruby-mecab is Ruby binding for MeCab
Introduction
In this tutorial we learn how to install ruby-mecab
on Fedora 36.
What is ruby-mecab
Ruby binding for MeCab.
We can use yum
or dnf
to install ruby-mecab
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ruby-mecab.
Install ruby-mecab 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 ruby-mecab
using dnf
by running the following command:
sudo dnf -y install ruby-mecab
Install ruby-mecab 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 ruby-mecab
using yum
by running the following command:
sudo yum -y install ruby-mecab
How To Uninstall ruby-mecab on Fedora 36
To uninstall only the ruby-mecab
package we can use the following command:
sudo dnf remove ruby-mecab
ruby-mecab Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/d2e99d66397565df8179cec6b37e56ae93916f
/usr/lib64/ruby/vendor_ruby/MeCab.so
/usr/share/doc/ruby-mecab
/usr/share/doc/ruby-mecab/AUTHORS
/usr/share/doc/ruby-mecab/BSD
/usr/share/doc/ruby-mecab/COPYING
/usr/share/doc/ruby-mecab/GPL
/usr/share/doc/ruby-mecab/LGPL
/usr/share/doc/ruby-mecab/bindings.html
References
Summary
In this tutorial we learn how to install ruby-mecab
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).