How To Install erlang-snappy on Fedora 36
Introduction
In this tutorial we learn how to install erlang-snappy
on Fedora 36.
What is erlang-snappy
An Erlang NIF wrapper for Google’s snappy compressor/decompressor.
We can use yum
or dnf
to install erlang-snappy
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-snappy.
Install erlang-snappy 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-snappy
using dnf
by running the following command:
sudo dnf -y install erlang-snappy
Install erlang-snappy 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-snappy
using yum
by running the following command:
sudo yum -y install erlang-snappy
How To Uninstall erlang-snappy on Fedora 36
To uninstall only the erlang-snappy
package we can use the following command:
sudo dnf remove erlang-snappy
erlang-snappy Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/5cbbcfb64c6bfd4e32d650a2304a0f6a1597ce
/usr/lib64/erlang/lib/snappy-1.1.1
/usr/lib64/erlang/lib/snappy-1.1.1/ebin
/usr/lib64/erlang/lib/snappy-1.1.1/ebin/snappy.app
/usr/lib64/erlang/lib/snappy-1.1.1/ebin/snappy.beam
/usr/lib64/erlang/lib/snappy-1.1.1/priv
/usr/lib64/erlang/lib/snappy-1.1.1/priv/snappy_nif.so
/usr/share/doc/erlang-snappy
/usr/share/doc/erlang-snappy/README.md
References
Summary
In this tutorial we learn how to install erlang-snappy
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).