2. Install Tools

PC OS

Network

Permission

ubuntu system

online

root

2.1 Install the necessary tools

 1sudo apt-get install u-boot-tools
 2sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dri:i386 libgl1-mesa-dev g++-multilib tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 dpkg-dev
 3sudo apt-get install libncurses5-dev
 4sudo apt-get install libsdl1.2-dev
 5sudo apt-get install lib32z-dev ccache
 6sudo apt-get install python-pyelftools python3-pyelftools -y
 7sudo apt-get install libssl-dev
 8sudo apt-get install liblz4-tool
 9sudo apt-get install gcc-4.8
10sudo apt-get install g++-4.8

Note

In case of errors please install the corresponding software package according to the error message.

2.2 Install JDK

1sudo apt-get update
2sudo apt-get install openjdk-8-jdk