How To Install pgzero on Fedora 36
Introduction
In this tutorial we learn how to install pgzero
on Fedora 36.
What is pgzero
Pygame Zero A zero boilerplate games programming framework for Python 3, based on Pygame. Pygame Zero consists of a runner pgzrun that will run a Pygame Zero script with a full game loop and a range of useful builtins.
We can use yum
or dnf
to install pgzero
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pgzero.
Install pgzero on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pgzero
using dnf
by running the following command:
sudo dnf -y install pgzero
Install pgzero on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pgzero
using yum
by running the following command:
sudo yum -y install pgzero
How To Uninstall pgzero on Fedora 36
To uninstall only the pgzero
package we can use the following command:
sudo dnf remove pgzero
pgzero Package Contents on Fedora 36
/usr/bin/pgzrun
/usr/lib/python3.10/site-packages/__pycache__/pgzrun.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/pgzrun.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero
/usr/lib/python3.10/site-packages/pgzero-1.2.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/pgzero-1.2.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pgzero-1.2.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pgzero-1.2.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pgzero-1.2.1-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/pgzero-1.2.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/pgzero-1.2.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pgzero/__init__.py
/usr/lib/python3.10/site-packages/pgzero/__main__.py
/usr/lib/python3.10/site-packages/pgzero/__pycache__
/usr/lib/python3.10/site-packages/pgzero/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/actor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/actor.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/animation.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/animation.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/builtins.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/builtins.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/clock.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/clock.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/constants.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/constants.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/game.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/game.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/keyboard.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/keyboard.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/loaders.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/loaders.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/music.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/music.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/ptext.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/ptext.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/rect.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/rect.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/runner.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/runner.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/screen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/screen.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/soundfmt.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/soundfmt.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/spellcheck.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/spellcheck.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/tone.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgzero/__pycache__/tone.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgzero/actor.py
/usr/lib/python3.10/site-packages/pgzero/animation.py
/usr/lib/python3.10/site-packages/pgzero/builtins.py
/usr/lib/python3.10/site-packages/pgzero/clock.py
/usr/lib/python3.10/site-packages/pgzero/constants.py
/usr/lib/python3.10/site-packages/pgzero/data
/usr/lib/python3.10/site-packages/pgzero/data/icon.png
/usr/lib/python3.10/site-packages/pgzero/data/joypad.png
/usr/lib/python3.10/site-packages/pgzero/game.py
/usr/lib/python3.10/site-packages/pgzero/keyboard.py
/usr/lib/python3.10/site-packages/pgzero/loaders.py
/usr/lib/python3.10/site-packages/pgzero/music.py
/usr/lib/python3.10/site-packages/pgzero/ptext.py
/usr/lib/python3.10/site-packages/pgzero/rect.py
/usr/lib/python3.10/site-packages/pgzero/runner.py
/usr/lib/python3.10/site-packages/pgzero/screen.py
/usr/lib/python3.10/site-packages/pgzero/soundfmt.py
/usr/lib/python3.10/site-packages/pgzero/spellcheck.py
/usr/lib/python3.10/site-packages/pgzero/tone.py
/usr/lib/python3.10/site-packages/pgzrun.py
/usr/share/doc/pgzero
/usr/share/doc/pgzero/README.rst
/usr/share/doc/pgzero/examples
/usr/share/doc/pgzero/examples/asteroids
/usr/share/doc/pgzero/examples/asteroids/actors.py
/usr/share/doc/pgzero/examples/asteroids/assets
/usr/share/doc/pgzero/examples/asteroids/assets/sounds
/usr/share/doc/pgzero/examples/asteroids/assets/sounds/asteroid_explosion.bfxrsound
/usr/share/doc/pgzero/examples/asteroids/assets/sounds/fire.bfxrsound
/usr/share/doc/pgzero/examples/asteroids/assets/sounds/player_explosion.bfxrsound
/usr/share/doc/pgzero/examples/asteroids/images
/usr/share/doc/pgzero/examples/asteroids/images/asteroid1-1.png
/usr/share/doc/pgzero/examples/asteroids/images/asteroid1-2.png
/usr/share/doc/pgzero/examples/asteroids/images/asteroid1-3.png
/usr/share/doc/pgzero/examples/asteroids/images/asteroid2-1.png
/usr/share/doc/pgzero/examples/asteroids/images/asteroid2-2.png
/usr/share/doc/pgzero/examples/asteroids/images/asteroid2-3.png
/usr/share/doc/pgzero/examples/asteroids/images/asteroid3-1.png
/usr/share/doc/pgzero/examples/asteroids/images/asteroid3-2.png
/usr/share/doc/pgzero/examples/asteroids/images/asteroid3-3.png
/usr/share/doc/pgzero/examples/asteroids/images/bullet.png
/usr/share/doc/pgzero/examples/asteroids/images/player.png
/usr/share/doc/pgzero/examples/asteroids/main.py
/usr/share/doc/pgzero/examples/asteroids/sounds
/usr/share/doc/pgzero/examples/asteroids/sounds/asteroid_explosion.wav
/usr/share/doc/pgzero/examples/asteroids/sounds/fire.wav
/usr/share/doc/pgzero/examples/asteroids/sounds/player_explosion.wav
/usr/share/doc/pgzero/examples/asteroids/space.py
/usr/share/doc/pgzero/examples/basic
/usr/share/doc/pgzero/examples/basic/animated_rotation.py
/usr/share/doc/pgzero/examples/basic/bounce.py
/usr/share/doc/pgzero/examples/basic/boxes.py
/usr/share/doc/pgzero/examples/basic/circle.py
/usr/share/doc/pgzero/examples/basic/clicks.py
/usr/share/doc/pgzero/examples/basic/demo1.py
/usr/share/doc/pgzero/examples/basic/demo2.py
/usr/share/doc/pgzero/examples/basic/demo3.py
/usr/share/doc/pgzero/examples/basic/demo4.py
/usr/share/doc/pgzero/examples/basic/fonts
/usr/share/doc/pgzero/examples/basic/fonts/Boogaloo
/usr/share/doc/pgzero/examples/basic/fonts/Boogaloo/OFL.txt
/usr/share/doc/pgzero/examples/basic/fonts/Bubblegum_Sans
/usr/share/doc/pgzero/examples/basic/fonts/Bubblegum_Sans/OFL.txt
/usr/share/doc/pgzero/examples/basic/fonts/Cherry_Cream_Soda
/usr/share/doc/pgzero/examples/basic/fonts/Cherry_Cream_Soda/LICENSE.txt
/usr/share/doc/pgzero/examples/basic/fonts/Roboto_Condensed
/usr/share/doc/pgzero/examples/basic/fonts/Roboto_Condensed/LICENSE.txt
/usr/share/doc/pgzero/examples/basic/fonts/boogaloo.ttf
/usr/share/doc/pgzero/examples/basic/fonts/bubblegum_sans.ttf
/usr/share/doc/pgzero/examples/basic/fonts/cherrycreamsoda.ttf
/usr/share/doc/pgzero/examples/basic/fonts/roboto_condensed.ttf
/usr/share/doc/pgzero/examples/basic/images
/usr/share/doc/pgzero/examples/basic/images/alien.png
/usr/share/doc/pgzero/examples/basic/images/alien_hurt.png
/usr/share/doc/pgzero/examples/basic/images/block.png
/usr/share/doc/pgzero/examples/basic/images/ship.png
/usr/share/doc/pgzero/examples/basic/music
/usr/share/doc/pgzero/examples/basic/music.py
/usr/share/doc/pgzero/examples/basic/music/handel_mp3.mp3
/usr/share/doc/pgzero/examples/basic/music/handel_ogg.ogg
/usr/share/doc/pgzero/examples/basic/ptext.py
/usr/share/doc/pgzero/examples/basic/rotating.py
/usr/share/doc/pgzero/examples/basic/sounds
/usr/share/doc/pgzero/examples/basic/sounds/eep.wav
/usr/share/doc/pgzero/examples/basic/tones.py
/usr/share/doc/pgzero/examples/flappybird
/usr/share/doc/pgzero/examples/flappybird/Flappy Bird.sb
/usr/share/doc/pgzero/examples/flappybird/README.txt
/usr/share/doc/pgzero/examples/flappybird/flappybird.py
/usr/share/doc/pgzero/examples/flappybird/images
/usr/share/doc/pgzero/examples/flappybird/images/background.png
/usr/share/doc/pgzero/examples/flappybird/images/bird0.png
/usr/share/doc/pgzero/examples/flappybird/images/bird1.png
/usr/share/doc/pgzero/examples/flappybird/images/bird2.png
/usr/share/doc/pgzero/examples/flappybird/images/birddead.png
/usr/share/doc/pgzero/examples/flappybird/images/bottom.png
/usr/share/doc/pgzero/examples/flappybird/images/top.png
/usr/share/doc/pgzero/examples/lander
/usr/share/doc/pgzero/examples/lander/lander.py
/usr/share/doc/pgzero/examples/memory
/usr/share/doc/pgzero/examples/memory/LICENCE
/usr/share/doc/pgzero/examples/memory/README.md
/usr/share/doc/pgzero/examples/memory/images
/usr/share/doc/pgzero/examples/memory/images/card_back.png
/usr/share/doc/pgzero/examples/memory/images/checkmark.bmp
/usr/share/doc/pgzero/examples/memory/images/im1.bmp
/usr/share/doc/pgzero/examples/memory/images/im2.bmp
/usr/share/doc/pgzero/examples/memory/images/im3.bmp
/usr/share/doc/pgzero/examples/memory/images/im4.bmp
/usr/share/doc/pgzero/examples/memory/images/im5.bmp
/usr/share/doc/pgzero/examples/memory/images/im6.bmp
/usr/share/doc/pgzero/examples/memory/images/steve.bmp
/usr/share/doc/pgzero/examples/memory/memory.py
/usr/share/doc/pgzero/examples/memory/source
/usr/share/doc/pgzero/examples/memory/source/cards.svgz
/usr/share/doc/pgzero/examples/mines
/usr/share/doc/pgzero/examples/mines/fonts
/usr/share/doc/pgzero/examples/mines/fonts/lcd_solid.ttf
/usr/share/doc/pgzero/examples/mines/images
/usr/share/doc/pgzero/examples/mines/images/blank.png
/usr/share/doc/pgzero/examples/mines/images/cover.png
/usr/share/doc/pgzero/examples/mines/images/eight.png
/usr/share/doc/pgzero/examples/mines/images/five.png
/usr/share/doc/pgzero/examples/mines/images/flag.png
/usr/share/doc/pgzero/examples/mines/images/four.png
/usr/share/doc/pgzero/examples/mines/images/height.png
/usr/share/doc/pgzero/examples/mines/images/left-pressed.png
/usr/share/doc/pgzero/examples/mines/images/left-raised.png
/usr/share/doc/pgzero/examples/mines/images/mine.png
/usr/share/doc/pgzero/examples/mines/images/mines.png
/usr/share/doc/pgzero/examples/mines/images/next-pressed.png
/usr/share/doc/pgzero/examples/mines/images/next-raised.png
/usr/share/doc/pgzero/examples/mines/images/one.png
/usr/share/doc/pgzero/examples/mines/images/question.png
/usr/share/doc/pgzero/examples/mines/images/red.png
/usr/share/doc/pgzero/examples/mines/images/right-pressed.png
/usr/share/doc/pgzero/examples/mines/images/right-raised.png
/usr/share/doc/pgzero/examples/mines/images/seven.png
/usr/share/doc/pgzero/examples/mines/images/six.png
/usr/share/doc/pgzero/examples/mines/images/three.png
/usr/share/doc/pgzero/examples/mines/images/two.png
/usr/share/doc/pgzero/examples/mines/images/width.png
/usr/share/doc/pgzero/examples/mines/mines.py
/usr/share/doc/pgzero/examples/pong
/usr/share/doc/pgzero/examples/pong/pong.py
/usr/share/doc/pgzero/examples/snake
/usr/share/doc/pgzero/examples/snake/images
/usr/share/doc/pgzero/examples/snake/images/apple.png
/usr/share/doc/pgzero/examples/snake/images/snake_corner.png
/usr/share/doc/pgzero/examples/snake/images/snake_head.png
/usr/share/doc/pgzero/examples/snake/images/snake_straight.png
/usr/share/doc/pgzero/examples/snake/images/snake_tail.png
/usr/share/doc/pgzero/examples/snake/snake.py
/usr/share/doc/pgzero/examples/snake/source_art
/usr/share/doc/pgzero/examples/snake/source_art/apple.svg
/usr/share/doc/pgzero/examples/snake/source_art/snake.svg
/usr/share/doc/pgzero/examples/tetra_puzzle
/usr/share/doc/pgzero/examples/tetra_puzzle/README
/usr/share/doc/pgzero/examples/tetra_puzzle/README/preview.png
/usr/share/doc/pgzero/examples/tetra_puzzle/main.py
/usr/share/doc/pgzero/examples/tetra_puzzle/music
/usr/share/doc/pgzero/examples/tetra_puzzle/music/HHavok-main.license.txt
/usr/share/doc/pgzero/examples/tetra_puzzle/music/hhavok-main.ogg
/usr/share/doc/pgzero/examples/tetra_puzzle/readme.rst
/usr/share/licenses/pgzero
/usr/share/licenses/pgzero/COPYING
References
Summary
In this tutorial we learn how to install pgzero
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).