Installing Unity Hub on Ubuntu 22.04

brenomfviana

Breno Viana

Posted on July 6, 2022

Installing Unity Hub on Ubuntu 22.04

Introduction

There are two problems in the Unity Hub installation tutorial (Installing the Unity Hub on Linux):

  1. Ubuntu 22.04 uses OpenSSL 3 while Unity Editors use OpenSSL 1.0 (Workaround for libssl issue on Ubuntu 22.04);
  2. The second instruction uses the apt-key command, which is deprecated on Ubuntu 22.04 (apt-key Is Deprecated. How To Add OpenPGP Repository Signing Keys Without It).

Thus, I decided to provide this brief tutorial with the appropriate commands.

Tutorial

Downloading OpenSSL 1.0:

Installing OpenSSL 1.0:

sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb
Enter fullscreen mode Exit fullscreen mode

Adding the Unity3D repository:

sudo sh -c 'echo "deb https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
Enter fullscreen mode Exit fullscreen mode

Adding the public signing key:

wget -qO - https://hub.unity3d.com/linux/keys/public | sudo tee /etc/apt/trusted.gpg.d/unityhub.asc
Enter fullscreen mode Exit fullscreen mode

Installing the Unity Hub:

sudo apt update
sudo apt install unityhub
Enter fullscreen mode Exit fullscreen mode

Uninstalling the Unity Hub:

sudo apt remove unityhub
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
brenomfviana
Breno Viana

Posted on July 6, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related