How to Install and Uninstall python3-uflash Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 25,2024

1. Install "python3-uflash" package

This tutorial shows how to install python3-uflash on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-uflash

2. Uninstall "python3-uflash" package

Learn how to uninstall python3-uflash on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-uflash $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-uflash package on Ubuntu 21.10 (Impish Indri)

Package: python3-uflash
Architecture: all
Version: 1.2.4+dfsg-8
Priority: optional
Section: universe/python
Source: python-uflash
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62
Depends: python3 (>= 3.5), python3:any
Recommends: firmware-microbit-micropython, python3-nudatus
Suggests: firmware-microbit-micropython-dl, python-uflash-doc
Filename: pool/universe/p/python-uflash/python3-uflash_1.2.4+dfsg-8_all.deb
Size: 18390
MD5sum: e45cab34f6879fa1081e6e980c608a31
SHA1: 19704b6e1d5ef90bcc56744e8b5b7166ca977ccf
SHA256: 17aa69f5778e134755af3e44a452cc59470012ead01fdab298893d89e98538b8
SHA512: 103014871d23ceb045a7cb9d51b667ab14b106fa7cfd0258a2992c5beda645ab03c908224b976bfea1cbda123dc6f360f691c9e05525f789d313a432ccfd0ca8
Homepage: https://github.com/ntoll/uflash
Description-en: module and utility for flashing the BBC micro:bit
uflash is a utility for flashing the BBC micro:bit with Python scripts
and the MicroPython runtime.
.
It provides two services:
.
* a library of functions to programmatically create a hex file and flash
it onto a BBC micro:bit.
* a command line utility (uflash) that will flash Python scripts onto
a BBC micro:bit
.
Several essential operations are implemented:
.
* encode Python into the hex format
* embed the resulting hexified Python into the MicroPython runtime hex
* extract an encoded Python script from a MicroPython hex file
* discover the connected micro:bit
* copy the resulting hex onto the micro:bit, thus flashing the device
* specify the MicroPython runtime hex in which to embed your Python code
.
By default, python3-uflash will use the MicroPython runtime for micro:bit
provided by the firmware-microbit-micropython{,-dl} packages and which is
located in /usr/share/firmware-microbit-micropython/firmware.hex. Please
ensure one of these packages is installed so that a default runtime is
always available.
.
This package provides the Python 3 module.
Description-md5: b95c7c1e6929d0b6c75a0742558c2861