Build python on Raspberry Pi 4

Linux
<p>I needed to install the latest python on one of my PIs. I used asdf, but I still need some libs in addition to build essential.</p> <pre><code>sudo apt install libffi-dev libbz2-dev liblzma-dev libsqlite3-dev libncurses5-dev libgdbm-dev zlib1g-dev libreadline-dev libssl-dev tk-dev build-essential libncursesw5-dev libc6-dev openssl git </code></pre>

© 2026 Code0x378