How To Install wabt on CentOS 7

In this tutorial we learn how to install wabt on CentOS 7. wabt is The WebAssembly Binary Toolkit

Introduction

In this tutorial we learn how to install wabt on CentOS 7.

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 instructions).

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

Install wabt on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install wabt using yum by running the following command:

sudo yum -y install wabt

Install wabt on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install wabt using dnf by running the following command:

sudo dnf -y install wabt

How To Uninstall wabt on CentOS 7

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

sudo dnf remove wabt

References

Summary

In this tutorial we learn how to install wabt on CentOS 7 using yum and dnf.