How To Install mu-editor on Kali Linux
Introduction
In this tutorial we learn how to install mu-editor on Kali Linux.
What is mu-editor
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
There are three methods to install mu-editor on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install mu-editor Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mu-editor using apt-get by running the following command:
sudo apt-get -y install mu-editorInstall mu-editor Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mu-editor using apt by running the following command:
sudo apt -y install mu-editorInstall mu-editor Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install mu-editor using aptitude by running the following command:
sudo aptitude -y install mu-editorHow To Uninstall mu-editor on Kali Linux
To uninstall only the mu-editor package we can use the following command:
sudo apt-get remove mu-editorUninstall mu-editor And Its Dependencies
To uninstall mu-editor and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mu-editorRemove mu-editor Configurations and Data
To remove mu-editor configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mu-editorRemove mu-editor configuration, data, and all of its dependencies
We can use the following command to remove mu-editor configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mu-editorDependencies
mu-editor have the following dependencies:
- fonts-inconsolata
- python3
- python3-guizero
- python3-pyqt5
- python3-pyqt5.qsci
- python3-pyqt5.qtchart
- python3-pyqt5.qtserialport
- python3-qtconsole
- python3-uflash
- python3-appdirs
- python3-matplotlib
- python3-nudatus
- python3-pgzero
- python3-pil
- python3-pycodestyle
- python3-pyflakes
- python3-requests
- python3-semver
- python3-serial
- python3
References
Summary
In this tutorial we learn how to install mu-editor package on Kali Linux using different package management tools: apt, apt-get and aptitude.