How To Install wabt on Fedora 36

In this tutorial we learn how to install wabt in Fedora 36. wabt is The WebAssembly Binary Toolkit

Introduction

In this tutorial we learn how to install wabt on Fedora 36.

What is wabt

WABT (we pronounce it “wabbit”) is a suite of tools for WebAssembly. These tools are intended for use in (or for development of) toolchains or other systems that want to manipulate WebAssembly files. Unlike the WebAssembly spec interpreter (which is written to be as simple, declarative and “speccy” as possible), they are written in C/C++ and designed for easier integration into other systems. Unlike Binaryen these tools do not aim to provide an optimization platform or a higher-level compiler target; instead they aim for full fidelity and compliance with the spec (e.g. 1

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

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

sudo dnf -y install wabt

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

sudo yum -y install wabt

How To Uninstall wabt on Fedora 36

To uninstall only the wabt package we can use the following command:

sudo dnf remove wabt

wabt Package Contents on Fedora 36

/usr/bin/spectest-interp
/usr/bin/wasm-decompile
/usr/bin/wasm-interp
/usr/bin/wasm-objdump
/usr/bin/wasm-opcodecnt
/usr/bin/wasm-strip
/usr/bin/wasm-validate
/usr/bin/wasm2c
/usr/bin/wasm2wat
/usr/bin/wast2json
/usr/bin/wat-desugar
/usr/bin/wat2wasm
/usr/include/wasm-rt-impl.h
/usr/include/wasm-rt.h
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/8c570e51cb65f288e8b9b70330dbe9bd1f2389
/usr/lib/.build-id/64
/usr/lib/.build-id/64/6c214f75f5a88795cac7cecb41221c6a13dcae
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/3ae6110577997852e592b3976c32d3f03eadd7
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/1b5e87b62486266baf59ef5e4da6766438356c
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/4ca52a051811c27cef8b02f178cab49c1570fa
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/b0d3c67cfa8e17a67db2247e4af35543ee5b0e
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/739aae2cd206fe33c3d0746787ef71dea2d01a
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/05e2a62e99325152182ca01ed9d4c3f0b02fd7
/usr/lib/.build-id/da
/usr/lib/.build-id/da/bd6dac0128d6adde87a5cf38a91837c4e46942
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/9967a0dfe4e5e65699045396465b70690cb4e1
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/8da2e72b7f264faf5be7daf9571a6cf4826787
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/6bcfa790d23fef7baff66b25cd03a2d3ac6c6f
/usr/lib64/libwasm-rt-impl.a
/usr/share/doc/wabt
/usr/share/doc/wabt/README.md
/usr/share/licenses/wabt
/usr/share/licenses/wabt/LICENSE
/usr/share/man/man1/spectest-interp.1.gz
/usr/share/man/man1/wasm-decompile.1.gz
/usr/share/man/man1/wasm-interp.1.gz
/usr/share/man/man1/wasm-objdump.1.gz
/usr/share/man/man1/wasm-opcodecnt.1.gz
/usr/share/man/man1/wasm-strip.1.gz
/usr/share/man/man1/wasm-validate.1.gz
/usr/share/man/man1/wasm2c.1.gz
/usr/share/man/man1/wasm2wat.1.gz
/usr/share/man/man1/wast2json.1.gz
/usr/share/man/man1/wat-desugar.1.gz
/usr/share/man/man1/wat2wasm.1.gz

References

Summary

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