Ubuntu - 20.04 system installation Espressif ESP-IDF toolchain (1) --- virtual machine to install Ubuntu - 20.04

Espressif ESP-IDF Toolchain

ESP-IDF is Espressif's official IoT development framework for ESP32, ESP32-S and ESP32-C series SoCs. It provides a self-sufficient SDK based on the C/C++ language to facilitate users to develop general-purpose applications on these platforms.

Judging from the current feedback on our side, most of the first-time ESP32users are ESP-IDFstill not friendly enough to install, difficult to install, and situations such as installation to abandonment.

Therefore, we are here to write this article based on the construction tutorial on Espressif's official website to help more users, and also record the various problems and solutions I have encountered during multiple installations.

ESP-IDF Getting Started Guide: https://docs.espressif.com/projects/esp-idf/en_US/stable/esp32/get-started/index.html

VMWARE virtual machine software

VMware is the global leader in desktop and data center virtualization solutions. , Through this software, we can run more Windows, Linux, Mac OS X, DOS and other systems on one computer at the same time without reinstalling our own system. I believe most users are using the windows system.

For most users, there is no separate computer to install linux and other systems for development . Therefore, we recommend installing it on for development withoutESP32 affecting the user's original computer . Of course, there are other virtual machine software you can also choose.VMwareUbuntuESP32

Long story short, let's move on to the installation process.

Virtual Machine Software Installation

There are generally no problems in the software installation process, so the installation is very smooth. If you need a software installation package, you can leave a message in the mailbox below. It is worth noting that VMware is a paid software. It is recommended to buy the genuine version, if economic conditions do not allow it You can find a solution on Baidu yourself, and Baidu has quite a few.

After obtaining the installation package, double-click to install all the way to the next step, you can refer to the following figure to install

Please add image description
Click Change to set the installation path, and then follow the pictures to the next step and then install

Please add image description
insert image description here
insert image description here
insert image description here
After purchasing the genuine version, there will be a license that can be entered after installation. If it is activated in other ways, there will generally be corresponding tutorials from other bloggers to follow.

After installation, double-click the icon to open
insert image description here

Ubuntu cheap

Ubuntu-20.04Before installing in the virtual machine, we need to download the system image by ourselves (the virtual machine does not have its own system image and needs to prepare it by ourselves)

If you need a mirror, you can leave a message below by email. I will package and send relevant information such as virtual machine software and mirroring together. If you are in a hurry to build it, it is recommended to download 64-bit Ubuntu on MSDN . You can log in with QQ WeChat and use the free version. That's it.

After logging in, find the icon in the red box
insert image description here
below, click in and find the Ubuntu 20.04 Desktop (amd64)version , click Copy BT, and then open software such as Thunder to download

insert image description here
The image is downloaded and we open the virtual machine software VMware

Please add image description
Click Create New Virtual Machine, then click Typical - Next

insert image description here

Browse to the right side of the installer CD image file to find the previously prepared Ubuntu-20.04image , add it, and go to the next step

insert image description here
Just fill in the username and password by yourself, try to use English or numbers, other precautions will prompt the reason, the next step

insert image description here

For the virtual machine location, choose a hard disk with a relatively large capacity (recommended remaining space of more than 30G) and create a folder to place the virtual machine system. Next step

insert image description here

The maximum disk size, users with small hard disk capacity can choose 20G, if there is enough space left on the hard disk, it can be larger. I will change it to 50G here. Next, click Finish for the default configuration.

insert image description here
insert image description here

Next, wait patiently for the system to install

insert image description here

Set Chinese operation interface

At this point, an Ubuntu-20.04 system is installed, click to log in and click on
insert image description here
the pop-up interface skip--> nextskip over and don't care, enter the desktop

insert image description here
At this time, the user interface will find that the entire interface is in English, and the first user operation will be very uncomfortable. Next, we will adjust the interface to Chinese.

Find the power icon in the upper right corner, click it and find it in the pop-up interface Setting, enter the settings

insert image description here
In the lower part of the column on the left, find the Region&Languagecolumn to open, and then clickManage Installed Languages

insert image description here
After opening, the following interface will pop up, click Remind Me Later, remind me next time, click after closing Install/Remove Languages..., literally install the language

insert image description here
insert image description here
Find a Chinese(simplified)check , click ApplyApply

insert image description here
Enter the set account password and clickAuthenticate

insert image description here
Wait patiently for all the downloads to complete. After the download is complete, restart the system. Note that the restart Ubuntu系统is not your own physical computer.

insert image description here
At this point, re-enter into Setting- Region&Language, click on the first one Language, and you can see that you can choose Chinese-China, as shown in the following figure

insert image description here
After selecting, click Selectand restart again Ubuntu系统. After booting, enter the text interface that will pop up on the desktop. Click the update name and it will be a Chinese interface.

insert image description here

Summarize

The installation and configuration of the system are basically all set up here. Friends who need a system image or installation package can leave a message below, and I will organize them here and send them together.

In the next article, we will start to Ubuntuinstall the ESP-IDFtoolchain in it. You are welcome to leave a message and discuss and communicate to solve some strange problems encountered during the learning process.

Thank you again for your one-click three-link, I believe we will live up to expectations and help you more! ! !

Guess you like

Origin blog.csdn.net/qq_42250136/article/details/123085577