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

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
主站蜘蛛池模板: 漾濞| 保康县| 体育| 武夷山市| 凤城市| 汉寿县| 建湖县| 永登县| 屯昌县| 涿鹿县| 海口市| 阿合奇县| 安福县| 清原| 随州市| 合水县| 云和县| 长沙县| 贞丰县| 繁昌县| 富平县| 镇雄县| 三河市| 鸡东县| 汨罗市| 六枝特区| 时尚| 三门县| 太仆寺旗| 龙游县| 大石桥市| 富阳市| 文水县| 石台县| 罗平县| 渝北区| 十堰市| 安吉县| 香港| 罗山县| 霍林郭勒市|