sudo apt-get install --yes git gcc g++ gperf bison flex texinfo help2man make libncurses5-dev autoconf automake libtool libtool-bin gawk wget bzip2 xz-utils unzip patch python3 libstdc++6 subversion
sudo apt-get update && sudo apt-get upgradecd Desktopgit clone https://github.com/crosstool-ng/crosstool-ngcd crosstool-ng./bootstrap && ./configuremake -j$(nproc --all)make installcd..mkdir buildcd build- Copy the defconfig file into build Directory
ct-ng defconfigct-ng build
The Toolchain will be located in /home/user/x-tools/.