This is an old revision of the document!
Operating System: Ubuntu 22.04
CPU: 64-bit
RAM: 64 GB
Free Disk Space: 512 GB
Update the local package cache
sudo apt-get update
Install packages
sudo apt-get install git build-essential \ diffstat texinfo gawk chrpath socat doxygen dos2unix python3 bison \ flex libssl-dev u-boot-tools mono-devel mono-complete curl lrzsz lzop \ python3-distutils pseudo python3-sphinx g++-multilib bc python3-pip \ libc6-dev-i386 jq git-lfs pigz zstd liblz4-tool cpio file autoconf automake \ xinetd tftpd nfs-kernel-server minicom libncurses5-dev dos2unix screen \ zstd lz4 python3-pyelftools python3-setuptools swig libsqlite3-dev python2.7 \ libgmp-dev libmpc-dev expect expect-dev
Create a symbolic link for Python
sudo ln -s /usr/bin/python2.7 /usr/bin/python2
Compilation is not guaranteed to succeed after package installation, as results may vary depending on your specific PC OS version and environment configuration. Failures may be caused by missing required dependencies or packages.