This is an old revision of the document!
https://pypi.org/project/pymcuprog/
https://github.com/microchip-pic-avr-tools/pymcuprog
apt install python3 python3-pip
rehash
pip3 install pymcuprog
get packs?
https://packs.download.microchip.com/
eg.
https://packs.download.microchip.com/Microchip.ATmega_DFP.3.0.158.atpack