


configure -enable-optimizationsĪfter running the make command, the installation will proceed and once it’s finished you can check the version installed running the following command: python3.9 -versionĪnd that’s it, you have successfully installed Python 3.9 on your Debian 11 system. When the download finishes, you can extract the files and enter them on the extracted directory: tar xvf Python-3.9.9.tgzĪnd once you are inside the Directory, you need to run the configure command and the make. So you can run this command to install all the required dependencies: sudo apt install wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev -yįirst of all, we need to download the source from python so we can proceed with the manual installation, so please run this command now: wget Once the update is done, you can proceed with the dependencies installation.
