How To Install erlang-mustache on Fedora 36
Introduction
In this tutorial we learn how to install erlang-mustache
on Fedora 36.
What is erlang-mustache
An Erlang port of Mustache for Ruby. Mustache is a framework-agnostic template system that enforces separation of view logic from the template file. Indeed, it is not even possible to embed logic in the template. This allows templates to be reused across language boundaries and for other language independent uses.
We can use yum
or dnf
to install erlang-mustache
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-mustache.
Install erlang-mustache 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-mustache
using dnf
by running the following command:
sudo dnf -y install erlang-mustache
Install erlang-mustache 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-mustache
using yum
by running the following command:
sudo yum -y install erlang-mustache
How To Uninstall erlang-mustache on Fedora 36
To uninstall only the erlang-mustache
package we can use the following command:
sudo dnf remove erlang-mustache
erlang-mustache Package Contents on Fedora 36
/usr/share/doc/erlang-mustache
/usr/share/doc/erlang-mustache/README.md
/usr/share/doc/erlang-mustache/examples
/usr/share/doc/erlang-mustache/examples/complex.erl
/usr/share/doc/erlang-mustache/examples/complex.mustache
/usr/share/doc/erlang-mustache/examples/nonl.erl
/usr/share/doc/erlang-mustache/examples/nonl.mustache
/usr/share/doc/erlang-mustache/examples/simple.erl
/usr/share/doc/erlang-mustache/examples/simple.mustache
/usr/share/doc/erlang-mustache/examples/unescaped.erl
/usr/share/doc/erlang-mustache/examples/unescaped.mustache
/usr/share/erlang/lib/mustache-0.1.1
/usr/share/erlang/lib/mustache-0.1.1/ebin
/usr/share/erlang/lib/mustache-0.1.1/ebin/mustache.app
/usr/share/erlang/lib/mustache-0.1.1/ebin/mustache.beam
/usr/share/erlang/lib/mustache-0.1.1/ebin/mustache_ctx.beam
/usr/share/licenses/erlang-mustache
/usr/share/licenses/erlang-mustache/LICENSE
References
Summary
In this tutorial we learn how to install erlang-mustache
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).