TG_7100b准备开发环境

本文详细介绍了如何在64位Ubuntu 16.04系统上搭建开发环境,包括安装运行时库、依赖软件包和Python packages。特别提到了使用国内镜像解决网络问题,并提供了针对aos-cube至少为0.5.11版本的安装方法。
摘要由CSDN通过智能技术生成

请在 64 位 Ubuntu 下搭建开发环境。Win10 系统可以在应用商店下载安装
Ubuntu18.04 LTS。其他用户可以安装虚拟机软件。
以下为基于 Ubuntu 环境开发和编译 SDK 时需要用到的库和依赖包,请您按顺序
执行命令来安装。
 安装程序运行时库
Ubuntu(版本 16.04 X64)
sudo apt-get update
sudo apt-get -y install libssl-dev:i386
sudo apt-get -y install libncurses-dev:i386
sudo apt-get -y install libreadline-dev:i386
 安装依赖软件包
Ubuntu(版本 16.04 X64)
sudo apt-get update
sudo apt-get -y install git wget make flex bison gperf unzip
sudo apt-get -y install gcc-multilib
sudo apt-get -y install libssl-dev
sudo apt-get -y install libncurses-dev
sudo apt-get -y install libreadline-dev
sudo apt-get -y install python python-pip
 安装 Python packages
Ubuntu(版本 16.04 X64)
python -m pip install setuptools
python -m pip install wheel
python -m pip install aos-cube
python -m pip install esptool
python -m pip install pyserial
python -m pip install scons
注意:aos-cube 的版本至少需要为 0.5.11。
如果在安装过程中遇到网络问题,可使用国内镜像。

安装/升级 pip

$ python -m pip install --trusted-host=mirrors.aliyun.com -i
https://mirrors.aliyun.com/pypi/simple/ --upgrade pip

基于 pip 依次安装第三方包和 aos-cube

$ pip install --trusted-host=mirrors.aliyun.com -i https://mirrors.aliyun.com/pypi/simple/
setuptools
$ pip install --trusted-host=mirrors.aliyun.com -i https://mirrors.aliyun.com/pypi/simple/ wheel
$ pip install --trusted-host=mirrors.aliyun.com -i https://mirrors.aliyun.com/pypi/simple/ aoscube

如需要使用 doubanio 作备用源

$ pip install --trusted-host pypi.doubanio.com -i http://pypi.doubanio.com/simple/ aos-cube

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

莫邪博客

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值