install micropython on ubuntu 18.10

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
kjartani
Posts: 1
Joined: Wed Dec 12, 2018 9:50 am

install micropython on ubuntu 18.10

Post by kjartani » Wed Dec 12, 2018 10:01 am

Hello.
I'm struggling installing micropython on ubuntu 18.10
Anybody here managed doing this?
Need your help.

Regards
Kjartan

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: install micropython on ubuntu 18.10

Post by pythoncoder » Wed Dec 12, 2018 1:13 pm

Have you followed the instructions here?

If so, and it failed, please provide details of where it went wrong.
Peter Hinch
Index to my micropython libraries.

User avatar
mattyt
Posts: 410
Joined: Mon Jan 23, 2017 6:39 am

Re: install micropython on ubuntu 18.10

Post by mattyt » Wed Dec 12, 2018 11:42 pm

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...

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: install micropython on ubuntu 18.10

Post by pythoncoder » Thu Dec 13, 2018 5:11 pm

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.
Peter Hinch
Index to my micropython libraries.

cefn
Posts: 230
Joined: Tue Aug 09, 2016 10:58 am

Re: install micropython on ubuntu 18.10

Post by cefn » Sat Dec 15, 2018 12:12 pm

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

Post Reply