官术网_书友最值得收藏!

Installing Emscripten on Ubuntu

If you are installing on Ubuntu, you should be able to use the apt-get package manager and git for the complete install. Let's move forward:

  1. Python is required, so if you do not have Python installed, be sure to run the following:
sudo apt-get install python
  1. If you do not already have Git installed, run the following:
sudo apt-get install git
  1. Now you will need to clone the Git repository for emsdk:
git clone https://github.com/emscripten-core/emsdk.git
  1. Change your directory to move into the emsdk directory:
cd emsdk
  1. From here, you need to install the latest version of the SDK tools, activate it, and set your environment variables:
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
  1. To make sure everything was installed correctly, run the following command:
emcc --version
主站蜘蛛池模板: 衡东县| 遂平县| 剑川县| 梓潼县| 同江市| 安塞县| 启东市| 新龙县| 波密县| 沈阳市| 靖宇县| 武宁县| 鲁山县| 昌乐县| 水富县| 望都县| 大同市| 阿合奇县| 济宁市| 上杭县| 绩溪县| 江口县| 甘洛县| 邵阳市| 富阳市| 普陀区| 清苑县| 甘德县| 梅河口市| 迁安市| 嘉义县| 沧源| 和静县| 潞西市| 梨树县| 上林县| 峨山| 平远县| 安庆市| 芜湖市| 开远市|