How to Install and Uninstall python3-uflash Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 21,2024

1. Install "python3-uflash" package

Please follow the instructions below to install python3-uflash on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install python3-uflash

2. Uninstall "python3-uflash" package

This guide let you learn how to uninstall python3-uflash on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the python3-uflash package on Ubuntu 20.10 (Groovy Gorilla)

Package: python3-uflash
Architecture: all
Version: 1.2.4+dfsg-4
Priority: optional
Section: universe/python
Source: python-uflash
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 61
Depends: python3 (>= 3.5), python3:any
Recommends: firmware-microbit-micropython, python3-nudatus
Suggests: firmware-microbit-micropython-dl, python3-uflash-doc
Filename: pool/universe/p/python-uflash/python3-uflash_1.2.4+dfsg-4_all.deb
Size: 17140
MD5sum: 466ee7d2bb9aec376156fba370c0cf96
SHA1: eab402549dd5ba2af72748c4751c86617d02c5b4
SHA256: 8d1632b3529cf9ee6f7495338651649f9d8483a33ae5b051ed1caf535aae7634
SHA512: e2d6c8695c3da09ffce852b6a8c81f0ca8d3a9c9e5138bc098ba15b2121e9635c06884c955a0e73a2fc846d6320837927c67a60472b38115411ec1534624dee8
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