I cant find and install any package related to Python 3.11
First I search for the package:
$ apt search python3.11
Sorting... Done
Full Text Search... Done
So even without response I tried to install the package, hoping for some miracle:
$ sudo apt install python3.11
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.11
E: Couldn't find any package by glob 'python3.11'
E: Couldn't find any package by regex 'python3.11'
2
Answers
As mentioned in the comments, Ubuntu 18.04 had reached the end of the support. There is no package for Python 3.11 on
apt
.If you don’t want to upgrade (at least for now), you have two options:
conda
.download source code and unzip it in a folder
go to that folder and run this command :
after a while ….
run this command
notice : dont use install instead of altinstall because your linux will be broken…!