Page 1 of 1

install micropython on ubuntu 18.10

Posted: Wed Dec 12, 2018 10:01 am
by kjartani
Hello.
I'm struggling installing micropython on ubuntu 18.10
Anybody here managed doing this?
Need your help.

Regards
Kjartan

Re: install micropython on ubuntu 18.10

Posted: Wed Dec 12, 2018 1:13 pm
by pythoncoder
Have you followed the instructions here?

If so, and it failed, please provide details of where it went wrong.

Re: install micropython on ubuntu 18.10

Posted: Wed Dec 12, 2018 11:42 pm
by mattyt
Tangentially related; has anyone in the forum had much experience creating a Debian/Ubuntu package? I only have a rudimentary knowledge of how the packaging system hangs together...

The unix port of MicroPython is mature enough now that it seems like it would be an appropriate time to consider packaging. Having the ability to apt install micropython-unix would be awfully useful...

Re: install micropython on ubuntu 18.10

Posted: Thu Dec 13, 2018 5:11 pm
by pythoncoder
It would be good, but you'd need to consider Suse and Red Hat style package managers too. And creating builds for non-Intel archs (e.g. Raspberry Pi).

I've little knowledge of packaging but I suspect it's nontrivial to do and to maintain.

My guess is that most people with a use for the Unix build will be familiar with the standard Linux build from source procedure. Although (having just done it), it is excruciatingly slow on an original A series Raspberry Pi.

Re: install micropython on ubuntu 18.10

Posted: Sat Dec 15, 2018 12:12 pm
by cefn
If you can create a script which completes the install (Virtualbox or Docker are useful for being able to re-run things from a clean start) then you can possibly create a Debian/Ubuntu package using checkinstall...

https://debian-administration.org/artic ... eckinstall