-
推荐系统Ubuntu 2204
-
必须安装的软件
apt-get install curl build-essential gcc g++ make ninja-build cmake libffi-dev e2fsprogs pkg-config flex bison perl bc openssl libssl-dev libelf-dev binutils binutils-dev libdwarf-dev u-boot-tools mtd-utils cpio device-tree-compiler net-tools openssh-server git python3-pip git-lfs repo ccache
-
修改/usr/bin/repo文件,源改成清华
REPO_URL = "https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/"
-
设置~/.pip/pip.config
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install] trusted-host = https://pypi.tuna.tsinghua.edu.cn -
安装hb工具
python3 -m pip install --user build/hb
-
sh改为bash shell
sudo dpkg-reconfigure dash
-
如果运行hb build报错,尝试运行hb env 看看提示,是不是有哪个组件没有安装?按照提示安装。
OpenHarmony系统编译环境
ssmile2023-11-19 5:02
相关推荐
fakerth1 天前
OpenHarmony位置服务模块架构fakerth22 天前
【OpenHarmony文件管理子系统】文件访问接口解析特立独行的猫a22 天前
开源OpenHarmony润开鸿HH-SCDAYU800A开发板开箱体验fakerth24 天前
【OpenHarmony文件管理子系统】文件访问接口mod_fileio解析fakerth24 天前
【OpenHarmony文件管理子系统】文件访问接口mod_file解析ShiMetaPi1 个月前
【ShiMetaPi M4-R1】上手:RK3568B2 |开源鸿蒙(OpenHarmony) 开发板上手指南Monkey-旭1 个月前
鸿蒙 5.1 深度解析:ArkUI 4.1 升级与分布式开发新范式fakerth1 个月前
OpenHarmony介绍雪域迷影2 个月前
Ubuntu22.04中搭建GN编译环境