mu-editor command not found

In this troubleshooting guide we learn how to fix mu-editor command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mu-editor: command not found

or when using sudo you get the following error message

sudo: mu-editor: command not found

Solutions to mu-editor: command not found

How To Fix mu-editor: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mu-editor is provided by mu-editor package.

mu-editor is:

Mu is a simple code editor for beginner programmers, based on extensive feedback from teachers and learners. Having said that, Mu is for anyone who wants to use a simple “no frills” editor.

Mu is a modal editor with modes for:

  • standard Python 3 (including a graphical debugger)
  • the micro:bit’s version of MicroPython
  • Adafruit’s CircuitPython
  • Pygame Zero

Some modes provide read-eval-print loop (REPL) support, either running on a connected CircuitPython or MicroPython device, or as a Jupyter-based iPython session in Python3 mode.

This package contains the Mu editor. Detailed online user documentation and tutorials for the Mu editor are available from within the editor, or at https://codewith.mu

To fix this problem, we can install more using the command below.

sudo apt-get -y install mu-editor

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mu-editor.

sudo apt -y install mu-editor

Or if you have aptitude installed you can use the following command.

sudo aptitude install mu-editor

Summary

In this tutorial we learn how to fix mu-editor command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.