How To Install mu on Fedora 34

mu is A simple Python editor not only for micro

Introduction

In this tutorial we learn how to install mu on Fedora 34.

What is mu

mu is a simple Python editor also for BBC micro

We can use yum or dnf to install mu on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mu.

Install mu on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mu using dnf by running the following command:

sudo dnf -y install mu

Install mu on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mu using yum by running the following command:

sudo yum -y install mu

How To Uninstall mu on Fedora 34

To uninstall only the mu package we can use the following command:

sudo dnf remove mu

mu Package Contents on Fedora 34

/usr/bin/mu-editor
/usr/lib/python3.9/site-packages/mu
/usr/lib/python3.9/site-packages/mu/__init__.py
/usr/lib/python3.9/site-packages/mu/__main__.py
/usr/lib/python3.9/site-packages/mu/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/__main__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/__main__.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/app.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/app.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/localedetect.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/localedetect.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/logic.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/logic.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/mu-debug.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/__pycache__/mu-debug.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/app.py
/usr/lib/python3.9/site-packages/mu/debugger
/usr/lib/python3.9/site-packages/mu/debugger/__pycache__/client.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/debugger/__pycache__/client.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/debugger/__pycache__/runner.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/debugger/__pycache__/runner.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/debugger/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/debugger/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/debugger/client.py
/usr/lib/python3.9/site-packages/mu/debugger/runner.py
/usr/lib/python3.9/site-packages/mu/debugger/utils.py
/usr/lib/python3.9/site-packages/mu/interface
/usr/lib/python3.9/site-packages/mu/interface/__init__.py
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/dialogs.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/dialogs.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/editor.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/editor.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/main.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/main.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/panes.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/panes.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/themes.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/interface/__pycache__/themes.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/interface/dialogs.py
/usr/lib/python3.9/site-packages/mu/interface/editor.py
/usr/lib/python3.9/site-packages/mu/interface/main.py
/usr/lib/python3.9/site-packages/mu/interface/panes.py
/usr/lib/python3.9/site-packages/mu/interface/themes.py
/usr/lib/python3.9/site-packages/mu/locale
/usr/lib/python3.9/site-packages/mu/locale/de_DE
/usr/lib/python3.9/site-packages/mu/locale/de_DE/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/de_DE/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/es
/usr/lib/python3.9/site-packages/mu/locale/es/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/es/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/fr
/usr/lib/python3.9/site-packages/mu/locale/fr/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/fr/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/ja
/usr/lib/python3.9/site-packages/mu/locale/ja/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/ja/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/pl
/usr/lib/python3.9/site-packages/mu/locale/pl/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/pl/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/pt_BR
/usr/lib/python3.9/site-packages/mu/locale/pt_BR/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/pt_BR/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/pt_PT
/usr/lib/python3.9/site-packages/mu/locale/pt_PT/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/pt_PT/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/sv
/usr/lib/python3.9/site-packages/mu/locale/sv/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/sv/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/vi
/usr/lib/python3.9/site-packages/mu/locale/vi/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/vi/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/locale/zh_CN
/usr/lib/python3.9/site-packages/mu/locale/zh_CN/LC_MESSAGES
/usr/lib/python3.9/site-packages/mu/locale/zh_CN/LC_MESSAGES/mu.mo
/usr/lib/python3.9/site-packages/mu/localedetect.py
/usr/lib/python3.9/site-packages/mu/logic.py
/usr/lib/python3.9/site-packages/mu/modes
/usr/lib/python3.9/site-packages/mu/modes/__init__.py
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/adafruit.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/adafruit.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/base.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/base.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/debugger.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/debugger.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/microbit.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/microbit.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/pygamezero.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/pygamezero.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/python3.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/__pycache__/python3.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/adafruit.py
/usr/lib/python3.9/site-packages/mu/modes/api
/usr/lib/python3.9/site-packages/mu/modes/api/__init__.py
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/adafruit.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/adafruit.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/microbit.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/microbit.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/pi.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/pi.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/pygamezero.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/pygamezero.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/python3.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/python3.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/shared.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/__pycache__/shared.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/modes/api/adafruit.py
/usr/lib/python3.9/site-packages/mu/modes/api/microbit.py
/usr/lib/python3.9/site-packages/mu/modes/api/pi.py
/usr/lib/python3.9/site-packages/mu/modes/api/pygamezero.py
/usr/lib/python3.9/site-packages/mu/modes/api/python3.py
/usr/lib/python3.9/site-packages/mu/modes/api/shared.py
/usr/lib/python3.9/site-packages/mu/modes/base.py
/usr/lib/python3.9/site-packages/mu/modes/debugger.py
/usr/lib/python3.9/site-packages/mu/modes/microbit.py
/usr/lib/python3.9/site-packages/mu/modes/pygamezero.py
/usr/lib/python3.9/site-packages/mu/modes/python3.py
/usr/lib/python3.9/site-packages/mu/mu-debug.py
/usr/lib/python3.9/site-packages/mu/resources
/usr/lib/python3.9/site-packages/mu/resources/__init__.py
/usr/lib/python3.9/site-packages/mu/resources/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mu/resources/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/mu/resources/css
/usr/lib/python3.9/site-packages/mu/resources/css/contrast.css
/usr/lib/python3.9/site-packages/mu/resources/css/day.css
/usr/lib/python3.9/site-packages/mu/resources/css/night.css
/usr/lib/python3.9/site-packages/mu/resources/fonts
/usr/lib/python3.9/site-packages/mu/resources/fonts/LICENSE.txt
/usr/lib/python3.9/site-packages/mu/resources/fonts/SourceCodePro-Bold.otf
/usr/lib/python3.9/site-packages/mu/resources/fonts/SourceCodePro-BoldIt.otf
/usr/lib/python3.9/site-packages/mu/resources/fonts/SourceCodePro-It.otf
/usr/lib/python3.9/site-packages/mu/resources/fonts/SourceCodePro-Regular.otf
/usr/lib/python3.9/site-packages/mu/resources/fonts/SourceCodePro-Semibold.otf
/usr/lib/python3.9/site-packages/mu/resources/fonts/SourceCodePro-SemiboldIt.otf
/usr/lib/python3.9/site-packages/mu/resources/images
/usr/lib/python3.9/site-packages/mu/resources/images/adafruit.png
/usr/lib/python3.9/site-packages/mu/resources/images/button.png
/usr/lib/python3.9/site-packages/mu/resources/images/check.png
/usr/lib/python3.9/site-packages/mu/resources/images/checked.png
/usr/lib/python3.9/site-packages/mu/resources/images/close-tab.png
/usr/lib/python3.9/site-packages/mu/resources/images/debug.png
/usr/lib/python3.9/site-packages/mu/resources/images/files.png
/usr/lib/python3.9/site-packages/mu/resources/images/flash.png
/usr/lib/python3.9/site-packages/mu/resources/images/fonts.png
/usr/lib/python3.9/site-packages/mu/resources/images/help.png
/usr/lib/python3.9/site-packages/mu/resources/images/icon.png
/usr/lib/python3.9/site-packages/mu/resources/images/images.png
/usr/lib/python3.9/site-packages/mu/resources/images/load.png
/usr/lib/python3.9/site-packages/mu/resources/images/logs.png
/usr/lib/python3.9/site-packages/mu/resources/images/microbit.png
/usr/lib/python3.9/site-packages/mu/resources/images/modes.png
/usr/lib/python3.9/site-packages/mu/resources/images/music.png
/usr/lib/python3.9/site-packages/mu/resources/images/new.png
/usr/lib/python3.9/site-packages/mu/resources/images/play.png
/usr/lib/python3.9/site-packages/mu/resources/images/plotter.png
/usr/lib/python3.9/site-packages/mu/resources/images/pygamezero.png
/usr/lib/python3.9/site-packages/mu/resources/images/python.png
/usr/lib/python3.9/site-packages/mu/resources/images/quit.png
/usr/lib/python3.9/site-packages/mu/resources/images/repl.png
/usr/lib/python3.9/site-packages/mu/resources/images/run.png
/usr/lib/python3.9/site-packages/mu/resources/images/save.png
/usr/lib/python3.9/site-packages/mu/resources/images/scroll-down.png
/usr/lib/python3.9/site-packages/mu/resources/images/scroll-left.png
/usr/lib/python3.9/site-packages/mu/resources/images/scroll-right.png
/usr/lib/python3.9/site-packages/mu/resources/images/scroll-up.png
/usr/lib/python3.9/site-packages/mu/resources/images/serial.png
/usr/lib/python3.9/site-packages/mu/resources/images/snippets.png
/usr/lib/python3.9/site-packages/mu/resources/images/sounds.png
/usr/lib/python3.9/site-packages/mu/resources/images/splash-screen.png
/usr/lib/python3.9/site-packages/mu/resources/images/step-in.png
/usr/lib/python3.9/site-packages/mu/resources/images/step-out.png
/usr/lib/python3.9/site-packages/mu/resources/images/step-over.png
/usr/lib/python3.9/site-packages/mu/resources/images/stop.png
/usr/lib/python3.9/site-packages/mu/resources/images/theme.png
/usr/lib/python3.9/site-packages/mu/resources/images/theme_contrast.png
/usr/lib/python3.9/site-packages/mu/resources/images/theme_day.png
/usr/lib/python3.9/site-packages/mu/resources/images/zoom-in.png
/usr/lib/python3.9/site-packages/mu/resources/images/zoom-out.png
/usr/lib/python3.9/site-packages/mu/resources/pygamezero
/usr/lib/python3.9/site-packages/mu/resources/pygamezero/alien.png
/usr/lib/python3.9/site-packages/mu/resources/pygamezero/alien_hurt.png
/usr/lib/python3.9/site-packages/mu/resources/pygamezero/eep.wav
/usr/lib/python3.9/site-packages/mu_editor-1.0.3.dist-info
/usr/lib/python3.9/site-packages/mu_editor-1.0.3.dist-info/AUTHORS.rst
/usr/lib/python3.9/site-packages/mu_editor-1.0.3.dist-info/INSTALLER
/usr/lib/python3.9/site-packages/mu_editor-1.0.3.dist-info/LICENSE
/usr/lib/python3.9/site-packages/mu_editor-1.0.3.dist-info/METADATA
/usr/lib/python3.9/site-packages/mu_editor-1.0.3.dist-info/WHEEL
/usr/lib/python3.9/site-packages/mu_editor-1.0.3.dist-info/entry_points.txt
/usr/lib/python3.9/site-packages/mu_editor-1.0.3.dist-info/top_level.txt
/usr/lib/udev/rules.d/90-usb-microbit.rules
/usr/share/applications/mu.codewith.editor.desktop
/usr/share/doc/mu
/usr/share/doc/mu/LICENSE
/usr/share/doc/mu/README.rst
/usr/share/icons/hicolor/256x256/apps/mu.codewith.editor.png
/usr/share/metainfo/mu.appdata.xml

References

Summary

In this tutorial we learn how to install mu on Fedora 34 using yum and dnf.