How To Install firmware-microbit-micropython-dl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install firmware-microbit-micropython-dl
on Ubuntu 20.04.
What is firmware-microbit-micropython-dl
firmware-microbit-micropython-dl is:
This empty package will, at the time of installation, download the current MicroPython runtime for the micro:bit as bundled with uflash upstream.
The firmware image will be downloaded from https://github.com/ntoll/uflash and saved to /usr/share/firmware-microbit-micropython/firmware.hex
Note that this package will not flash MicroPython onto the micro:bit; that can be done with the uflash utility (package: python3-uflash).
There are three methods to install firmware-microbit-micropython-dl
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install firmware-microbit-micropython-dl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install firmware-microbit-micropython-dl
using apt-get
by running the following command:
sudo apt-get -y install firmware-microbit-micropython-dl
Install firmware-microbit-micropython-dl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install firmware-microbit-micropython-dl
using apt
by running the following command:
sudo apt -y install firmware-microbit-micropython-dl
Install firmware-microbit-micropython-dl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install firmware-microbit-micropython-dl
using aptitude
by running the following command:
sudo aptitude -y install firmware-microbit-micropython-dl
How To Uninstall firmware-microbit-micropython-dl on Ubuntu 20.04
To uninstall only the firmware-microbit-micropython-dl
package we can use the following command:
sudo apt-get remove firmware-microbit-micropython-dl
Uninstall firmware-microbit-micropython-dl And Its Dependencies
To uninstall firmware-microbit-micropython-dl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove firmware-microbit-micropython-dl
Remove firmware-microbit-micropython-dl Configurations and Data
To remove firmware-microbit-micropython-dl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge firmware-microbit-micropython-dl
Remove firmware-microbit-micropython-dl configuration, data, and all of its dependencies
We can use the following command to remove firmware-microbit-micropython-dl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge firmware-microbit-micropython-dl
References
Summary
In this tutorial we learn how to install firmware-microbit-micropython-dl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.