DEV Community

Automata
Automata

Posted on

3

Install Python 3.11

Update Ubuntu

sudo apt update
Enter fullscreen mode Exit fullscreen mode
sudo apt upgrade
Enter fullscreen mode Exit fullscreen mode

Import Python PPA

sudo add-apt-repository ppa:deadsnakes/ppa -y
Enter fullscreen mode Exit fullscreen mode
sudo apt update
Enter fullscreen mode Exit fullscreen mode

Install Python 3.11

sudo apt install python3.11
Enter fullscreen mode Exit fullscreen mode
python3.11 --version
Enter fullscreen mode Exit fullscreen mode

Install PIP with Python 3.11

Option 1

sudo apt install python3-pip
Enter fullscreen mode Exit fullscreen mode

Option 2

wget https://bootstrap.pypa.io/get-pip.py
Enter fullscreen mode Exit fullscreen mode
python3 get-pip.py
Enter fullscreen mode Exit fullscreen mode
python3 -m pip install --upgrade pip
Enter fullscreen mode Exit fullscreen mode
pip --version
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay