WasmEdge / WasmEdge

WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.

Home Page:https://WasmEdge.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: A pure shell script to install wasmedge and plugins

hydai opened this issue · comments

Summary

The current installer will rely on Python (2 or 3) as the dependencies to execute.
However, on some devices, the storage is limited; installing Python is impossible. Moreover, Python is only used to install the wasmedge and is not required for WasmEdge.

We would like a new installer that has the most straightforward installation functionality.

Details

  1. A pure bash shell script
  2. No third-party dependencies are required
  3. We should support the following three components as the MVP: WasmEdge tools and libraries, WASI-NN GGML plugin, and rustls plugin.
  4. We should support the following triples: manylinux2014_aarch64, manylinux2014_x86_64, ubuntu20.04_x86_64, ubuntu20.04_aarch64, darwin_x86_64, darwin_arm64

Appendix

The very first installer is written in a bash shell script: https://github.com/WasmEdge/WasmEdge/blob/master/utils/install.sh.old

This does not replace the Python installer. Instead, it provides an alternative for those who don't or can't have the Python environment on their devices.