2. Install Tools
PC OS |
Network |
ubuntu21.04 |
online |
sudo apt-get install repo git ssh make gcc libssl-dev liblz4-tool expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib unzip device-tree-compiler ncurses-dev
If an error occurs during compilation, you can view the error message and install the corresponding software package.
eg.
Error
ERROR: No python2
sudo apt-get install python2
Error
/usr/bin/env: ‘python’: No such file or directory
sudo apt install python-is-python3