Files
ascend-tools/faster_install/for_1.7x.0.0/README.md
T
2020-08-13 18:51:48 -07:00

50 lines
1.5 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Ubuntu18.04开发环境快速安装脚本
#### 介绍
该脚本适用于Ubuntu18.04操作系统,可以快速安装C7x的开发环境,包括Python环境与MindStudio。
#### 使用前准备
1、Ubuntu18.04版本的虚拟机。
2、到网站(https://www.huaweicloud.com/ascend/resource/Software )下载用于安装MindStudio的Toolkit包,名字为Ascend-Toolkit-[version]-x86_64-linux_gcc7.3.0.run、Ascend-Toolkit-[version]-arm-linux_gcc7.3.0.run,将两个包放于$HOME目录下。
3、自行配置下载源。(以下给出一种配置源的方法)
(1)点击左边如下图“步骤1”中的图标。
![](img/pic1.png "步骤1")
(2)点击图“步骤2”中上方红色框图标。
![](img/pic2.png "步骤1")
(3)勾选图“步骤3”中的第5个选项,并选择other选项。
![](img/pic3.png "步骤1")
4)如图选择你所需要的源。
![](img/pic4.png "步骤1")
#### 使用方法
1、下载快速安装脚本。Ubuntu服务器的命令行中执行以下命令进入$HOME目录。
cd $HOME
命令行中使用以下命令下载faster-install脚本。
git clone
将faster-install目录下的faster-install.sh脚本拷贝到$HOME目录下。
cp ~/faster-install/faster-install.sh .
执行脚本。
bash faster-install.sh
2、安装完成之后会显示以下界面。点击界面中的红色框内的选项。
![](img/pic5.png "界面1")
3、选择下图中的选项,点OK即可。
![](img/pic6.png "界面2")
4、此时会自动关闭MindStudio,重新启动MindStudio即可。到此C7x开发环境安装完成。