Last active
November 23, 2022 16:37
-
-
Save SumitBando/051921670f67ad6f7f9b15d181ed9773 to your computer and use it in GitHub Desktop.
Install python 3.11 on Debian 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check current | |
$ python3 --version | |
Python 3.9.2 | |
$ sudo apt-get install -y --no-install-recommends software-properties-common wget build-essential pkg-config zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev | |
$ wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz | |
$ tar -xf Python-3.11.0.tar.xz | |
$ cd Python-3.11.0 | |
$ ./configure --enable-optimizations | |
$ make | |
$ sudo make altinstall | |
# verify build version | |
$ python3.11 --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment