The officially official Devuan Forum!

You are not logged in.

#1 2023-04-14 16:55:50

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 114  

[SOLVED] How to Install the latest version of Python ?

Hi everyone,

How can I install the latest version of python (3.11.3 at this date) on Chimaera 4.0 ?

Thanks.


Linux noob, plz be kind big_smile

Offline

#2 2023-04-14 16:58:35

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 114  

Re: [SOLVED] How to Install the latest version of Python ?

I've found this --> https://aruljohn.com/blog/install-pytho … on--source

is this ok for Devuan too ?

BTW I changed

sudo make altinstall

by

sudo make install

Last edited by SpongeBOB (2023-04-14 17:18:25)


Linux noob, plz be kind big_smile

Offline

#3 2023-04-15 02:51:57

rbit
Member
Registered: 2018-06-12
Posts: 46  

Re: [SOLVED] How to Install the latest version of Python ?

SpongeBOB wrote:

I've found this --> https://aruljohn.com/blog/install-pytho … on--source

is this ok for Devuan too ?

That page looks okay, but it is for python 3.11.1, not 3.11.3.  The 3.11.3 source can be downloaded here https://www.python.org/ftp/python/3.11. … 3.11.3.tgz.  The build/install process should work the same in devuan as in debian.
If you want a slightly smaller download, the xz-compressed source can be downloaded here https://www.python.org/ftp/python/3.11. … 1.3.tar.xz.

Here, just change the first section of that blog page to this:

cd /tmp/
wget https://www.python.org/ftp/python/3.11.3/Python-3.11.3.tar.xz
tar -xvf Python-3.11.3.tar.xz
cd Python-3.11.3/

I believe all the rest should be the same.

Last edited by rbit (2023-04-15 02:59:29)

Offline

#4 2023-04-15 06:16:45

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 114  

Re: [SOLVED] How to Install the latest version of Python ?

Thank you @rbit,

btw for future reader, after the upgraded

python -V

was still giving my previous version, but just relaunching the terminal was giving the one just installed.

Cheers.


Linux noob, plz be kind big_smile

Offline

Board footer