How to Install and Uninstall emscripten Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 26,2024

1. Install "emscripten" package

Please follow the steps below to install emscripten on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install emscripten

2. Uninstall "emscripten" package

Here is a brief guide to show you how to uninstall emscripten on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove emscripten $ sudo apt autoclean && sudo apt autoremove

3. Information about the emscripten package on Ubuntu 21.04 (Hirsute Hippo)

Package: emscripten
Architecture: all
Version: 2.0.12~dfsg-1ubuntu2
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43371
Depends: binaryen (>= 99), clang (>= 1:11.0), lld (>= 1:11.0), llvm (>= 1:11.0), node-acorn, nodejs, python3:any
Recommends: libjs-d3, python3-numpy
Suggests: adb, automake, closure-compiler, cmake, make, python3-ply, scons, wabt
Filename: pool/universe/e/emscripten/emscripten_2.0.12~dfsg-1ubuntu2_all.deb
Size: 9475696
MD5sum: 434aea507a9103716637b8d71ece679e
SHA1: deb93f6e418ff9e070282be8f0f82a47243c8ecc
SHA256: 929a4464a79decf46efda8c03f63fb9f5eb39c1a92e18fb8ad78b3777e84730c
SHA512: e5baab6ed34550379f895ee219db1a4d20e9adb7dbebb74f4aaa48fa541e0c8304480375c70956aeb27be369a6731a5563ee898e15f78afae527bd45a8dc0075
Homepage: http://emscripten.org/
Description-en: 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
.
Some uses of emscripten require additional packages:
* setting WASM2C requires wabt.
* emcmake requires cmake.
* emconfigure may require automake.
* emmake requires make.
* emrun option --android requires adb.
* emscons requires scons.
* WebIDL Binder requires python3-ply.
Description-md5: 9fd62f1c5a466e3584d6e714ad6d22e3