How To Install rubygem-css_parser on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-css_parser
on Fedora 36.
What is rubygem-css_parser
A set of classes for parsing CSS in Ruby.
We can use yum
or dnf
to install rubygem-css_parser
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-css_parser.
Install rubygem-css_parser 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-css_parser
using dnf
by running the following command:
sudo dnf -y install rubygem-css_parser
Install rubygem-css_parser 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-css_parser
using yum
by running the following command:
sudo yum -y install rubygem-css_parser
How To Uninstall rubygem-css_parser on Fedora 36
To uninstall only the rubygem-css_parser
package we can use the following command:
sudo dnf remove rubygem-css_parser
rubygem-css_parser Package Contents on Fedora 36
/usr/share/gems/gems/css_parser-1.10.0
/usr/share/gems/gems/css_parser-1.10.0/MIT-LICENSE
/usr/share/gems/gems/css_parser-1.10.0/lib
/usr/share/gems/gems/css_parser-1.10.0/lib/css_parser
/usr/share/gems/gems/css_parser-1.10.0/lib/css_parser.rb
/usr/share/gems/gems/css_parser-1.10.0/lib/css_parser/parser.rb
/usr/share/gems/gems/css_parser-1.10.0/lib/css_parser/regexps.rb
/usr/share/gems/gems/css_parser-1.10.0/lib/css_parser/rule_set.rb
/usr/share/gems/gems/css_parser-1.10.0/lib/css_parser/version.rb
/usr/share/gems/specifications/css_parser-1.10.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-css_parser
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).