diff --git a/porting/first-steps.rst b/porting/first-steps.rst index 88cb039..e13b699 100644 --- a/porting/first-steps.rst +++ b/porting/first-steps.rst @@ -49,7 +49,7 @@ Set up your build device Now you will need to install packages on the computer you wish to build Halium with. Make sure to have Python 3.6 or higher installed. -Debian (Stretch or newer) / Ubuntu (16.04 or 18.04) +Debian (Buster or Bullseye) / Ubuntu (16.04 or 18.04) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you are on the ``amd64`` architecture (commonly referred to as 64 bit), enable the usage of the ``i386`` architecture:: @@ -69,6 +69,26 @@ Install the required dependencies:: python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool \ repo liblz4-tool bc lzop imagemagick libncurses5 rsync +Debian (Bookworm or newer) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +If you are on the ``amd64`` architecture (commonly referred to as 64 bit), enable the usage of the ``i386`` architecture:: + + sudo dpkg --add-architecture i386 + +Update your package lists to take advantage of the new architecture:: + + sudo apt update + +Install the required dependencies:: + + sudo apt install git gnupg flex bison gperf build-essential \ + zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ + libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ + libgl1-mesa-dev g++-multilib mingw-w64-i686-dev tofrodos \ + python3-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool \ + repo liblz4-tool bc lzop imagemagick libncurses5 rsync + Ubuntu (20.04 or newer) ^^^^^^^^^^^^^^^^^^^^^^^