News for hackers. Stuff that matters.
Re:Python 3.11 Performance Benchmarks Are Looking Fantastic by whalesalad on Monday June 06, 2022 @01:42PM (#31643410)
Install dependencies with apt (a few popular pages on google for this). Download tarball. Configure. Final step is ‘make altinstall’ and then you can use it standalone. If you already use virtual environments you would then recreate your venv and the rest of your experience would remain the same. I’d share actual syntax but I’m mobile right now.

Alternatively a tool like pyenv makes this much easier.

Re:Python 3.11 Performance Benchmarks Are Looking Fantastic by TekMol on Monday June 06, 2022 @01:50PM (#31643497)
This might be above my paygrade, but let me try:

>>> Install dependencies with apt (a few popular pages on google for this).

I don't know what this means :) So let's go to step 2:

>>> Download tarball.

Me tries this:

    wget 'https://www.python.org/ftp/python/3.11.0/Python-3.11.0a1.tgz'
>>> Configure.

What does this mean?

>>> make altinstall

I guess I somehow need to untar the tar thing first?

Me tries this:

    tar -xf Python-3.11.0a1.tgz
Hurray, I have a directory :)

Let's cd into it:

    cd Python-3.11.0a1
And now the make altinstall?

    make altinstall
Gives me:

    bash: make: command not found
Hm...

    apt install make
    make altinstall
Gives me:

    make: *** No rule to make target 'altinstall'.  Stop.
Hm... yeah, looks like it is beyond my paygrade.
Re:Python 3.11 Performance Benchmarks Are Looking Fantastic by teddyh on Monday June 06, 2022 @02:06PM (#31643702)
> >>> Configure.

> What does this mean?

It means to run the “./configure” script first, which is normally present in the unpacked tar file. Also, on Debian, to compile programs, you usually first have to install the “build-essential” package.

Re:Python 3.11 Performance Benchmarks Are Looking Fantastic by TingPing on Monday June 06, 2022 @05:18PM (#31646409)
> > Install dependencies with apt (a few popular pages on google for this).

> I don't know what this means :) So let's go to step 2:

`apt-get build-dep python3`