Install pygame on linux

How can I install pygame on linux?

There is a .deb package of Pygame for Python 3 available in [this PPA]

  1. Add the PPA to your system sources:

sudo add-apt-repository ppa:thopiekar/pygame

  1. Update the package list:

sudo apt-get update

  1. Install the package:

sudo apt-get install python3-pygame

  1. Install Pygame Zero with pip:

pip3 install pgzero