# Ubuntu 20.04 (focal fossa) Support

**URL:** <https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822>\
**Category:** Ubuntu\
**Tags:** jetson\
**Created:** [July 14, 2020, 10:15pm UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822 "2020-07-14T22:15:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_of\_Zymbit](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@Bob\_of\_Zymbit](https://community.zymbit.com/u/Bob_of_Zymbit)\
**Post date:** [July 14, 2020, 10:15pm UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/1 "2020-07-14T22:15:42Z")

</div>

## ![Zymbit Ubuntu 20.04 Release Graphic](https://canada1.discourse-cdn.com/flex027/uploads/zymbit/original/1X/f78150891a8c8694fb53b8bcffe44b2c05e57019.jpeg)

**Alive & Released !**

We’re happy to announce that the Zymkey Host Package now supports Ubuntu 20.04. LTS, 64 and 32 bit distributions.  
The installation script in [Getting Started](https://community.zymbit.com/t/getting-started-with-zymkey-4i/202) will automatically select the correct repository.

**New Features:**

- Support for Ubuntu 20.04 32-bit and 64-bit.

- Fix to quickly sync RTC with system clock. Resolves problem with Zymkey RTC displaying small values.

- Fixed PKCS#11 library now saves keys in Ubuntu 18.04 and 20.04.

- Initial support for Jetson Nano running Tegra Linux 18.04.

**For New Installations:**

- Follow the standard “Getting Started…” steps. Each flavor of operating system automatically chooses the correct repository, including the Jetson.

**To Update existing Installations to implement fixes to issues above:**

- Can run sudo apt-get update, sudo apt-get upgrade

**Known Issues:**

- The i2c address cannot currently be changed from the default of 0x30.

---

<div class="post-metadata">

**Author:** ![Phil\_S\_Zymbit\_1](https://avatars.discourse-cdn.com/v4/letter/p/45deac/32.png) [@Phil\_S\_Zymbit\_1](https://community.zymbit.com/u/Phil_S_Zymbit_1)\
**Post date:** [July 14, 2020, 10:15pm UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/2 "2020-07-14T22:15:46Z")

</div>

Unlisted on July 14, 2020, 10:15pm UTC



---

<div class="post-metadata">

**Author:** ![Phil\_S\_Zymbit\_1](https://avatars.discourse-cdn.com/v4/letter/p/45deac/32.png) [@Phil\_S\_Zymbit\_1](https://community.zymbit.com/u/Phil_S_Zymbit_1)\
**Post date:** [July 16, 2020, 10:15pm UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/3 "2020-07-16T22:15:18Z")

</div>

Listed on July 16, 2020, 10:15pm UTC



---

<div class="post-metadata">

**Author:** ![gnmckinney](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.zymbit.com/gnmckinney/32/347_2.png) [@gnmckinney](https://community.zymbit.com/u/gnmckinney)\
**Post date:** [July 17, 2020, 11:44am UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/4 "2020-07-17T11:44:42Z")

</div>

Great!!! Thanks Bob!  
I ran the installation script without any issues - all went very well and have the 3 second blinky 🙂 This was done on two RPi-4 boards with 8-Gig Ram.

I copied the test scripts from a different RPi running Raspberry Pi OS and got this result:

ubuntu@k8s-node-0:~/examples$ date;python3 /usr/local/share/zymkey/examples/zk\_crypto\_test.py;date  
Fri Jul 17 07:32:18 EDT 2020  
Signing data…OK  
Verifying data…OK  
Verifying tainted data…FAIL, yay!  
Generating random block (131072 bytes)…  
Encrypting random block…  
Decrypting encrypted block…  
PASS: Decrypted data matches original random data  
Done!  
Fri Jul 17 07:33:48 EDT 2020  
Looks like around 90 seconds…

The Raspberry OS test run:

pi@Zymbit:/usr/local/share/zymkey/examples $ date;python /usr/local/share/zymkey/examples/zk\_crypto\_test.py;date  
Fri 17 Jul 07:33:36 EDT 2020  
Signing data…OK  
Verifying data…OK  
Verifying tainted data…FAIL, yay!  
Generating random block (131072 bytes)…  
Encrypting random block…  
Decrypting encrypted block…  
PASS: Decrypted data matches original random data  
Done!  
Fri 17 Jul 07:35:13 EDT 2020  
Around 97 seconds to run the test script…

Notice the python3 call in the Ubuntu version 🙂

So far things are working as expected - I plan to do some more testing this weekend but want to say THANKS for getting this working in Ubuntu 20.04 LTS.

I expected the Ubuntu version to run a bit faster given it is running 64-bit OS vs 32-Bit and the processor speed in the RPi-4 is a bit faster than the RPi-3 I tested against.

Gary

---

<div class="post-metadata">

**Author:** ![Michelle\_of\_Zymbit](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michelle\_of\_Zymbit](https://community.zymbit.com/u/Michelle_of_Zymbit)\
**Post date:** [August 4, 2020, 8:38pm UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/5 "2020-08-04T20:38:07Z")

</div>

Pinned on August 4, 2020, 8:38pm UTC



---

<div class="post-metadata">

**Author:** ![Michelle\_of\_Zymbit](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michelle\_of\_Zymbit](https://community.zymbit.com/u/Michelle_of_Zymbit)\
**Post date:** [August 12, 2020, 5:19pm UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/6 "2020-08-12T17:19:39Z")

</div>

Unpinned on August 12, 2020, 5:19pm UTC



---

<div class="post-metadata">

**Author:** ![Phil\_S\_Zymbit\_1](https://avatars.discourse-cdn.com/v4/letter/p/45deac/32.png) [@Phil\_S\_Zymbit\_1](https://community.zymbit.com/u/Phil_S_Zymbit_1)\
**Post date:** [September 9, 2020, 3:12am UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/7 "2020-09-09T03:12:50Z")

</div>

Pinned on September 9, 2020, 3:12am UTC



---

<div class="post-metadata">

**Author:** ![kontrasec](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@kontrasec](https://community.zymbit.com/u/kontrasec)\
**Post date:** [November 10, 2020, 6:58am UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/8 "2020-11-10T06:58:03Z")

</div>

Humble request - can we get 20.10 groovy gorilla support as well? It should be as simple as providing the apt packages for `groovy` on your aws storages, based on what the script describes for focal.

---

<div class="post-metadata">

**Author:** ![Bob\_of\_Zymbit](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@Bob\_of\_Zymbit](https://community.zymbit.com/u/Bob_of_Zymbit)\
**Post date:** [November 10, 2020, 6:21pm UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/9 "2020-11-10T18:21:25Z")

</div>

@kontrasec

We usually target the LTS releases, not the short-term releases. Out of curiousity, what aspects of 20.10 do you need that are not included in 20.04 LTS?

Regards,

Bob

---

<div class="post-metadata">

**Author:** ![kontrasec](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@kontrasec](https://community.zymbit.com/u/kontrasec)\
**Post date:** [November 12, 2020, 1:42am UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/10 "2020-11-12T01:42:22Z")

</div>

20.10 is the first version that supports desktop mode for a pi 4. I was trying out a workstation pattern.

Admittedly this is a low-volume usecase.

---

<div class="post-metadata">

**Author:** ![Bob\_of\_Zymbit](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@Bob\_of\_Zymbit](https://community.zymbit.com/u/Bob_of_Zymbit)\
**Post date:** [November 12, 2020, 6:54pm UTC](https://community.zymbit.com/t/ubuntu-20-04-focal-fossa-support/822/11 "2020-11-12T18:54:05Z")

</div>

@kontrasec - For us to turn a repo and test and support Groovy Gorilla is obviously a little more than just getting it to work. That said, If you would like to try things out, you should be able to point at our focal repository and install on 20.10. No guarantees all will work but here are the steps:

1. Bring up 20.10. Update/upgrade and install curl.

`sudo apt-get update; sudo apt-get upgrade -y`  
`sudo apt install curl`

1. Download the install script to your PI4

`curl -G http://s3.amazonaws.com/zk-sw-repo/install_zk_sw.sh > install_zk_sw.sh`

1. Edit Line 53 and set distro=focal

Change  
`distro=`lsb_release -c | cut -f2 -d$'\t'``  
To  
`distro=focal`

1. Make the script executable and run as sudo

`chmod +x install_zk_sw.sh`  
`sudo su`  
`./install_zk_sw.sh`

Good luck!
