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

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
主站蜘蛛池模板: 克山县| 安泽县| 昌江| 昌乐县| 宁安市| 开江县| 长泰县| 桂阳县| 磐安县| 乳源| 大邑县| 清原| 肥西县| 大新县| 吕梁市| 葵青区| 太仆寺旗| 龙州县| 老河口市| 英吉沙县| 图木舒克市| 视频| 天峨县| 文水县| 和平区| 东辽县| 无锡市| 娄烦县| 灵武市| 盐边县| 宜兴市| 蓬安县| 蓬溪县| 保康县| 宜丰县| 扎兰屯市| 永寿县| 观塘区| 莆田市| 洪湖市| 遵化市|