crun

The crun project has WasmEdge support baked in. For now, the easiest approach is just built it yourself from source. First, let’s make sure that crun dependencies are installed on your Ubuntu 20.04. For other Linux distributions, please see here.

  1. sudo apt update
  2. sudo apt install -y make git gcc build-essential pkgconf libtool \
  3. libsystemd-dev libprotobuf-c-dev libcap-dev libseccomp-dev libyajl-dev \
  4. go-md2man libtool autoconf python3 automake

Next, configure, build, and install a crun binary with WasmEdge support.

  1. git clone https://github.com/containers/crun
  2. cd crun
  3. ./autogen.sh
  4. ./configure --with-wasmedge
  5. make
  6. sudo make install