# Linux support Ubuntu 20.04

**URL:** <http://forum.squareline.io/t/linux-support-ubuntu-20-04/151>\
**Category:** Bugs\
**Tags:** release\
**Created:** [March 18, 2022, 10:41am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151 "2022-03-18T10:41:54Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![s.vankampen](http://forum.squareline.io/user_avatar/forum.squareline.io/s.vankampen/32/74_2.png) [@s.vankampen](http://forum.squareline.io/u/s.vankampen)\
**Post date:** [March 18, 2022, 10:41am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/1 "2022-03-18T10:41:54Z")

</div>

Ubuntu 20.04 support

Dear team already mentioned in the this thread.

> [@Can't open example correctly in version 1.0.4](https://forum.squareline.io/t/cant-open-example-correctly-in-version-1-0-4/143/5):
>
> last part: StartServer Connect to 127.0.0.1 on port 20085 Connection closed StopServer Cannot process request because the process (113644) has exited. Connection failed SocketException: System.Net.Sockets.SocketException (0x80004005): Connection refused at System.Net.Sockets.TcpClient…ctor (System.String hostname, System.Int32 port) [0x0006d] in \<70a6c5ad50804ff79dacac874c9c41a4\>:0 at PLink.Connect (System.String ĪĪĩĩĪĩĩĩĪĩĪĩĩĪĩĪĩĪĪĩĩĩĩĪĩĩĪĩĪĪĩĪĩĩĪĩĩĩĪĩĩĩĪĩĪĪĩ, System.Int32 ĪĪĩĪĪĩĪĪĩĪĩ…

I have some troubles to run version 1.0.4 in Ubuntu 20.04

From support I had some ideas to check where the issue is… I found out that running your specific micropython port on Ubuntu 20.04 resulted in

./micropython server.py  
./micropython: /lib/x86\_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./micropython) ./micropython: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC\_2.34’ not found (required by ./micropython)

Next I followed the instructions on  
[GitHub - lvgl/lv\_micropython: Micropython bindings to LVGL for Embedded devices, Unix and JavaScript](https://github.com/lvgl/lv_micropython) to build the unix port. This resulted in a working server 🙂

But unfortunately I couldn’t get a working example.

 ![Screenshot from 2022-03-18 11-39-35](http://forum.squareline.io/uploads/default/original/1X/d2158b82d1337b10c9e6e39e85e29ae6307826cc.jpeg)

What can I do to get the examples working? I only have 13 days left on trial and haven’t tested anything.

---

<div class="post-metadata">

**Author:** ![SquareLine\_Support](http://forum.squareline.io/user_avatar/forum.squareline.io/squareline_support/32/47_2.png) [@SquareLine\_Support](http://forum.squareline.io/u/SquareLine_Support)\
**Post date:** [March 21, 2022, 8:29am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/2 "2022-03-21T08:29:17Z")

</div>

Hi,

We are looking into this. The server is a customized version of `lv_micropython` so the upstream version won’t work.

We will send you a new server to try it out soon, and make your trial longer.

In the meantime can you try v1.0.3 out?

---

<div class="post-metadata">

**Author:** ![SquareLine\_Support](http://forum.squareline.io/user_avatar/forum.squareline.io/squareline_support/32/47_2.png) [@SquareLine\_Support](http://forum.squareline.io/u/SquareLine_Support)\
**Post date:** [March 21, 2022, 9:09am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/3 "2022-03-21T09:09:48Z")

</div>

Please try this server  
[micropython.zip](http://forum.squareline.io/uploads/short-url/gI1OsJH2xoe8ayHgeXhzlKpmwva.zip) (1.0 MB)

---

<div class="post-metadata">

**Author:** ![s.vankampen](http://forum.squareline.io/user_avatar/forum.squareline.io/s.vankampen/32/74_2.png) [@s.vankampen](http://forum.squareline.io/u/s.vankampen)\
**Post date:** [March 21, 2022, 10:32am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/4 "2022-03-21T10:32:47Z")

</div>

Thanks… this micropython version works under Ubuntu 20.04.

---

<div class="post-metadata">

**Author:** ![kisvegabor](http://forum.squareline.io/user_avatar/forum.squareline.io/kisvegabor/32/537_2.png) [@kisvegabor](http://forum.squareline.io/u/kisvegabor)\
**Post date:** [March 23, 2022, 8:06am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/5 "2022-03-23T08:06:33Z")

</div>

Great, thanks for the feedback!  
We will built this server on an older OS, and will keep using it in the new versions.

---

<div class="post-metadata">

**Author:** ![Uup115](http://forum.squareline.io/letter_avatar_proxy/v4/letter/u/54ee81/32.png) [@Uup115](http://forum.squareline.io/u/Uup115)\
**Post date:** [March 27, 2022, 7:25pm UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/6 "2022-03-27T19:25:58Z")

</div>

I currently have the same problem in Lubuntu 20.04, with Studio v1.04. The alternative server (above) has no effect.

 ![image](http://forum.squareline.io/uploads/default/original/1X/1e9b6434d991e95eae5e8f672ac5d9d8abd90440.png)

---

<div class="post-metadata">

**Author:** ![SquareLine\_Support](http://forum.squareline.io/user_avatar/forum.squareline.io/squareline_support/32/47_2.png) [@SquareLine\_Support](http://forum.squareline.io/u/SquareLine_Support)\
**Post date:** [March 28, 2022, 8:06am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/7 "2022-03-28T08:06:11Z")

</div>

Have you run `setup.sh`?

---

<div class="post-metadata">

**Author:** ![Uup115](http://forum.squareline.io/letter_avatar_proxy/v4/letter/u/54ee81/32.png) [@Uup115](http://forum.squareline.io/u/Uup115)\
**Post date:** [March 28, 2022, 12:20pm UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/8 "2022-03-28T12:20:20Z")

</div>

Yes… However, I don’t see a **.desktop** entry in ~/.local/share/applications. 🤔

 ![image](http://forum.squareline.io/uploads/default/original/1X/eaea22b2cb96e530587b37da4bcd91581cfed45d.png)

**UPDATE:**

1. From the command line, I executed each line in **setup.sh** separately. This successfully generated a **.desktop** entry. Oddly, running the script is not successful.
2. At this point, only the alternative server (above) works. The server supplied with Studio v1.04 does not work.

---

<div class="post-metadata">

**Author:** ![SquareLine\_Support](http://forum.squareline.io/user_avatar/forum.squareline.io/squareline_support/32/47_2.png) [@SquareLine\_Support](http://forum.squareline.io/u/SquareLine_Support)\
**Post date:** [March 29, 2022, 7:58am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/9 "2022-03-29T07:58:54Z")

</div>

> [@Uup115](#):
>
> From the command line, I executed each line in **setup.sh** separately. This successfully generated a **.desktop** entry. Oddly, running the script is not successful.

Hmm, it’s really interesting. There is nothing special in that shell script.

> [@Uup115](#):
>
> At this point, only the alternative server (above) works. The server supplied with Studio v1.04 does not work.

Thanks for the feedback! It will be fixed in v1.0.5

---

<div class="post-metadata">

**Author:** ![Uup115](http://forum.squareline.io/letter_avatar_proxy/v4/letter/u/54ee81/32.png) [@Uup115](http://forum.squareline.io/u/Uup115)\
**Post date:** [April 16, 2022, 5:15pm UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/10 "2022-04-16T17:15:31Z")

</div>

> [@Uup115](#):
>
> Yes… However, I don’t see a **.desktop** entry in ~/.local/share/applications. 🤔
> 
> ![image](http://forum.squareline.io/uploads/default/original/1X/eaea22b2cb96e530587b37da4bcd91581cfed45d.png)
> 
> **UPDATE:**
> 
> 1. From the command line, I executed each line in **setup.sh** separately. This successfully generated a **.desktop** entry. Oddly, running the script is not successful.

When executing **setup.sh** , the command:

```b
mv squareline_studio.desktop ~/.local/share/applications

```

renames “squareline\_studio.desktop” to “applications” and moves it to the following directory:

```b
/root/.local/share

```

 ![image](http://forum.squareline.io/uploads/default/original/1X/cf4cea08741b0acaa5e3b62b5dc02c455ccb28b9.png)

Yes, tilde (~) points to my home directory.

This is truly odd. 🤔

---

<div class="post-metadata">

**Author:** ![kisvegabor](http://forum.squareline.io/user_avatar/forum.squareline.io/kisvegabor/32/537_2.png) [@kisvegabor](http://forum.squareline.io/u/kisvegabor)\
**Post date:** [April 19, 2022, 7:14am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/11 "2022-04-19T07:14:24Z")

</div>

Hmm, it’s really strange. Others haven’t reported similar issue so I think it should be something with your system. But I have no idea what could it be. ☹ Assuming that you have started the script as user and nor root.

---

<div class="post-metadata">

**Author:** ![stylon](http://forum.squareline.io/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@stylon](http://forum.squareline.io/u/stylon)\
**Post date:** [June 23, 2022, 2:53pm UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/12 "2022-06-23T14:53:59Z")

</div>

I’ve the same issue with SLS v1.0.5 on Ubuntu 18.04 LTS. The micropython coming with SLS v1.0.5 gives the same error as the micropython provided here in this thread, but to my suprise it complains about a different GLIBC version:

```auto
./micropython: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./micropython)

```

Installed is version 2.27, so the error message certainly makes sense, but I can’t try out SLS with this “bug”.

---

<div class="post-metadata">

**Author:** ![kisvegabor](http://forum.squareline.io/user_avatar/forum.squareline.io/kisvegabor/32/537_2.png) [@kisvegabor](http://forum.squareline.io/u/kisvegabor)\
**Post date:** [June 24, 2022, 7:42am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/13 "2022-06-24T07:42:44Z")

</div>

We have built `micropython` under Linux Mint 20.3 (Una) which is based on Ubuntu 20.04. I see no problem with using Ubuntu 18.04 instead.

I can try it out next week and send the binary to you for testing.

---

<div class="post-metadata">

**Author:** ![kisvegabor](http://forum.squareline.io/user_avatar/forum.squareline.io/kisvegabor/32/537_2.png) [@kisvegabor](http://forum.squareline.io/u/kisvegabor)\
**Post date:** [July 3, 2022, 3:27pm UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/14 "2022-07-03T15:27:20Z")

</div>

Hi,

I rebuild the server with Ubuntu 18.04.

Please copy unzip the attached file and copy `micropython` to the `server` folder of SquareLine. Don’t forget to make it executable with `chmod +x micropython`.

[micropython.zip](http://forum.squareline.io/uploads/short-url/w53RGJ3b53WgdCfsLHDc90URSil.zip) (1.0 MB)

---

<div class="post-metadata">

**Author:** ![stylon](http://forum.squareline.io/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@stylon](http://forum.squareline.io/u/stylon)\
**Post date:** [July 12, 2022, 9:51pm UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/15 "2022-07-12T21:51:26Z")

</div>

Thanks a lot for LVGL, Squareline Studio and your effort! It works now for me and I hope also others who still use Ubuntu 18.04 find it useful. I know that I should have upgraded to a newer Ubuntu already, but I tried a 22.04 recently and the graphics drivers are completely messed up for me. I’m undecided and may even stick to 18.04 for a while (newer change a running system).

---

<div class="post-metadata">

**Author:** ![kisvegabor](http://forum.squareline.io/user_avatar/forum.squareline.io/kisvegabor/32/537_2.png) [@kisvegabor](http://forum.squareline.io/u/kisvegabor)\
**Post date:** [July 13, 2022, 10:37am UTC](http://forum.squareline.io/t/linux-support-ubuntu-20-04/151/16 "2022-07-13T10:37:15Z")

</div>

Great, compiling the server under 18.04 is fine for us too so we will use it in the future.

I’ve also tried Ubuntu 22.04 but Gnome was… well… almost made me cry… 😃 So now I’m on Linux Mint Debian Edition.
