How to Install emscripten in Ubuntu 18.04



Install emscripten by entering the following commands in the terminal:

sudo apt update
sudo apt install emscripten

Description:

LLVM-to-JavaScript Compiler

Emscripten is an LLVM to JavaScript compiler. It takes LLVM bitcode, also called LLVM IR (which can be generated from C/C++ using Clang, or any other language that can be converted into LLVM bitcode) and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run). . Using Emscripten, you can * Compile C and C++ code into JavaScript and run that on the web * Run code in languages like Python as well, by compiling CPython from C to JavaScript and interpreting code in that on the web

Homepage: http://emscripten.org/

Version: 1.22.1-1build1

Section: universe/devel