Breno Viana
Posted on July 6, 2022
Introduction
There are two problems in the Unity Hub installation tutorial (Installing the Unity Hub on Linux):
- Ubuntu 22.04 uses OpenSSL 3 while Unity Editors use OpenSSL 1.0 (Workaround for libssl issue on Ubuntu 22.04);
- 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:
- Download libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb from http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/.
Installing OpenSSL 1.0:
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb
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'
Adding the public signing key:
wget -qO - https://hub.unity3d.com/linux/keys/public | sudo tee /etc/apt/trusted.gpg.d/unityhub.asc
Installing the Unity Hub:
sudo apt update
sudo apt install unityhub
Uninstalling the Unity Hub:
sudo apt remove unityhub
💖 💪 🙅 🚩
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.