注意
在安装repo时,如果出现“bash: /usr/local/bin/repo: Permission denied”异常,无法将repo-py3安装到/usr/local/bin/repo,请先增加/usr/local/bin/目录的写入权限,然后再试。
或者先将repo-py3下载到当前目录,再将其移动到/usr/local/bin/目录下。相应的命令如下所示:
$sudo curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > ./repo
$sudo mv repo /usr/local/bin/
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) | Powered by Discuz! X3.5 |