![]() If you have any questions or feedback, leave a comment below. This tutorial shows you multiple ways to install Python 3.9 on Debian 10 system. Verify the installation by typing: python3.9 -version Python 3.9.0+ Conclusion # Python 3.9 has been installed from source and ready to be used. Once the build process is complete, install the Python binaries by typing: sudo make altinstall ![]() You would run the following command to start the build process for python: make -j 12įor faster build time, modify the -j to correspond to the number of cores in your processor. wget Extract Archive After downloading, extract the archive file on your system. The -enable-optimizations option optimizes the Python binary by running multiple tests. Follow the below steps to install Python 3.9 on Debian: Download Python You can directory download Python 3.9 source archive from its official site. It will do few checks that required dependencies are installed. ![]() ![]() To do that, run: python -m pip install -user ansible4.9.0 That should work, and as long as you don't try upgrading to Ansible 5, you'd have a. Navigate to the Python source directory and execute the configure script. The easiest workaround for now is to install the latest version of Ansible 4, which uses ansible-core 2.11, which is compatible with the version of Python (3.7) that ships with Debian 10 Buster. Once the download is finished, extract the tarball: tar -xf Python-3.9.0.tgz Step 3 – Configure script # Sudo apt update sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev Step 2 – Download source code #Īfter that download the latest source code from Python download page using wget: wget ![]()
0 Comments
Leave a Reply. |