Hacker News new | ask | show | jobs
by 0xDEFACED 1179 days ago
If using apt, you can add the deadsnakes repository which allows installing the other versions of python3 not included with your linux distro. Then you can install them with

  sudo apt install python3.X
I also recommend similarly

  sudo apt install python3.X-venv
which allows you to create venvs with whichever python version you have installed

  python3.X -m venv .venv