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
Top comments (10)
Super bro!
I would like to leave some comments here...if you're trying this tutorial after 27/04/2023 and maybe using something based on Ubuntu 22.04.2 LTS, you can find the right .deb here .
So, you need to run:
sudo dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.22_amd64.deb
Doing it, you can follow the next steps using this nice tutorial.
This worked for me, so I hope to help someone too. :)
THANKS man. Two months that I struggle and you come to save my life. You are great man, I love you.
I'm glad I could help you :D
great solution thx very much.
I'm happy I could help you :D
after a few hours finally found something that actually worked, THANKS
I'm glad I could help you :D
Sup, my friend !
Do any these version work ?
unsuccess :/
First option should have worked. 🤔
Did you try this solution: stackoverflow.com/a/74073555?