How To Install rubygem-webrick on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-webrick
on Fedora 36.
What is rubygem-webrick
WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server.
We can use yum
or dnf
to install rubygem-webrick
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-webrick.
Install rubygem-webrick 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-webrick
using dnf
by running the following command:
sudo dnf -y install rubygem-webrick
Install rubygem-webrick 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-webrick
using yum
by running the following command:
sudo yum -y install rubygem-webrick
How To Uninstall rubygem-webrick on Fedora 36
To uninstall only the rubygem-webrick
package we can use the following command:
sudo dnf remove rubygem-webrick
rubygem-webrick Package Contents on Fedora 36
/usr/share/gems/gems/webrick-1.7.0
/usr/share/gems/gems/webrick-1.7.0/LICENSE.txt
/usr/share/gems/gems/webrick-1.7.0/bin
/usr/share/gems/gems/webrick-1.7.0/bin/console
/usr/share/gems/gems/webrick-1.7.0/bin/setup
/usr/share/gems/gems/webrick-1.7.0/lib
/usr/share/gems/gems/webrick-1.7.0/lib/webrick
/usr/share/gems/gems/webrick-1.7.0/lib/webrick.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/accesslog.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/cgi.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/compat.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/config.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/cookie.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/htmlutils.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth/authenticator.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth/basicauth.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth/digestauth.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth/htdigest.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth/htgroup.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth/htpasswd.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpauth/userdb.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpproxy.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpresponse.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/https.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpserver.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpservlet
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpservlet.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpservlet/abstract.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpservlet/cgi_runner.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpservlet/cgihandler.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpservlet/erbhandler.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpservlet/filehandler.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpservlet/prochandler.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpstatus.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httputils.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpversion.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/log.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/server.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/ssl.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/utils.rb
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/version.rb
/usr/share/gems/specifications/webrick-1.7.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-webrick
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).