How To Install erlang-mochiweb on Fedora 36

In this tutorial we learn how to install erlang-mochiweb in Fedora 36. erlang-mochiweb is An Erlang library for building lightweight HTTP servers

Introduction

In this tutorial we learn how to install erlang-mochiweb on Fedora 36.

What is erlang-mochiweb

An Erlang library for building lightweight HTTP servers.

We can use yum or dnf to install erlang-mochiweb on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-mochiweb.

Install erlang-mochiweb 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 erlang-mochiweb using dnf by running the following command:

sudo dnf -y install erlang-mochiweb

Install erlang-mochiweb 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 erlang-mochiweb using yum by running the following command:

sudo yum -y install erlang-mochiweb

How To Uninstall erlang-mochiweb on Fedora 36

To uninstall only the erlang-mochiweb package we can use the following command:

sudo dnf remove erlang-mochiweb

erlang-mochiweb Package Contents on Fedora 36

/usr/share/doc/erlang-mochiweb
/usr/share/doc/erlang-mochiweb/CHANGES.md
/usr/share/doc/erlang-mochiweb/README.md
/usr/share/doc/erlang-mochiweb/examples
/usr/share/doc/erlang-mochiweb/examples/hmac_api
/usr/share/doc/erlang-mochiweb/examples/hmac_api/README
/usr/share/doc/erlang-mochiweb/examples/hmac_api/hmac_api.hrl
/usr/share/doc/erlang-mochiweb/examples/hmac_api/hmac_api_client.erl
/usr/share/doc/erlang-mochiweb/examples/hmac_api/hmac_api_lib.erl
/usr/share/doc/erlang-mochiweb/examples/https
/usr/share/doc/erlang-mochiweb/examples/https/https_store.erl
/usr/share/doc/erlang-mochiweb/examples/https/server_cert.pem
/usr/share/doc/erlang-mochiweb/examples/https/server_key.pem
/usr/share/doc/erlang-mochiweb/examples/keepalive
/usr/share/doc/erlang-mochiweb/examples/keepalive/keepalive.erl
/usr/share/doc/erlang-mochiweb/examples/websocket
/usr/share/doc/erlang-mochiweb/examples/websocket/index.html
/usr/share/doc/erlang-mochiweb/examples/websocket/websocket.erl
/usr/share/erlang/lib/mochiweb-2.22.0
/usr/share/erlang/lib/mochiweb-2.22.0/ebin
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochifmt.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochifmt_records.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochifmt_std.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiglobal.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochihex.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochijson.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochijson2.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochilists.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochilogfile2.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochinum.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochitemp.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiutf8.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb.app
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_acceptor.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_base64url.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_charref.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_clock.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_cookies.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_cover.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_echo.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_headers.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_html.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_http.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_io.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_mime.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_multipart.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_request.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_response.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_session.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_socket.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_socket_server.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_util.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/mochiweb_websocket.beam
/usr/share/erlang/lib/mochiweb-2.22.0/ebin/reloader.beam
/usr/share/erlang/lib/mochiweb-2.22.0/include
/usr/share/erlang/lib/mochiweb-2.22.0/include/internal.hrl
/usr/share/erlang/lib/mochiweb-2.22.0/scripts
/usr/share/erlang/lib/mochiweb-2.22.0/scripts/entities.erl
/usr/share/erlang/lib/mochiweb-2.22.0/support
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp.template
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/bench.sh
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/priv
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/priv/www
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/priv/www/index.html
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/rebar.config
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/src
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/src/mochiapp.app.src
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/src/mochiapp.erl
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/src/mochiapp_app.erl
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/src/mochiapp_deps.erl
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/src/mochiapp_sup.erl
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/src/mochiapp_web.erl
/usr/share/erlang/lib/mochiweb-2.22.0/support/templates/mochiwebapp_skel/start-dev.sh
/usr/share/erlang/lib/mochiweb-2.22.0/support/test-materials
/usr/share/erlang/lib/mochiweb-2.22.0/support/test-materials/test_ssl_cert.pem
/usr/share/erlang/lib/mochiweb-2.22.0/support/test-materials/test_ssl_key.pem
/usr/share/licenses/erlang-mochiweb
/usr/share/licenses/erlang-mochiweb/LICENSE

References

Summary

In this tutorial we learn how to install erlang-mochiweb on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).