Live data from Hacker News

How to Install Python3.14 from source on Ubuntu 26.04

jamesoclaire.com

1–4 of 4 posts

Re: How to Install Python3.14 from source on Ubuntu 26.04

#2
Just sharing this, I was doing my routine this morning with a couple new VMs and was thinking how much I like building my Python environments from source.

Just wanted to share for anyone and show that it has certainly gotten easier over the years (though this year Ubuntu 26.04 did add a new step).

Re: How to Install Python3.14 from source on Ubuntu 26.04

#3
post #2

Just sharing this, I was doing my routine this morning with a couple new VMs and was thinking how much I like building my Python environments from source. Just wanted to share for anyone and show that it has certainly gotten easier over the years (though this year Ubuntu 26.04 did add a new step).

Hey, I've done this before. It wasn't until after I went through that process that I learned about the Deadsnakes PPA.

You can add this PPA (personal package archive) to your Ubuntu install. Then you can use apt to do the install of the newer version.

https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa

Just another alternative method, and potentially easier/faster.

Re: How to Install Python3.14 from source on Ubuntu 26.04

#4
post #3
post #2

Just sharing this, I was doing my routine this morning with a couple new VMs and was thinking how much I like building my Python environments from source. Just wanted to share for anyone and show that it has certainly gotten easier over the years (though this year Ubuntu 26.04 did add a new step).

Hey, I've done this before. It wasn't until after I went through that process that I learned about the Deadsnakes PPA. You can add this PPA (personal package archive) to your Ubuntu install. Then you can use apt to do the install of the newer version. https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa Just another alternative method, and potentially easier/faster.

Yes! I used to use deadsnakes before as well. This is just my flow that I enjoy doing the most and wanted to share. The deadsnakes flow is less steps and you get the benefit of updates. So it's probably even better for most people.

I just like the flow where I know which version I'm on, and exactly the steps I took to get there. =D