Reputation: 171
I have some troubles installing Unity Hub on my Ubuntu 22.04. I've followed the instruction from official Unity site, but the hub seem not working well. Only black screen is shown and nothing else. I am very lost with it! :( The following codes has been runned:
sudo sh -c 'echo "deb https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
wget -qO - https://hub.unity3d.com/linux/keys/public | sudo apt-key add -
sudo apt update
sudo apt-get install unityhub
Thank you for your reply!
Upvotes: 7
Views: 11826
Reputation: 182
To resolve this issue you can install libssl1.1
I was also facing the same issue so I made an script that make it easy to install Unity hub on Ubuntu latest versions
#!/bin/bash
#Lib issue Ubuntu
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
chmod +x libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt-get update
sudo apt-get install libssl1.1
#unityhub
sudo sh -c 'echo "deb https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
wget -qO - https://hub.unity3d.com/linux/keys/public | sudo apt-key add -
sudo apt update
sudo apt-get install unityhub
HOW TO USE BASH
install.sh
on Desktop.install.sh
file."Desktop" location
.chmod +x install.sh
then press Enter../install.sh
and press Enter.Upvotes: 7
Reputation: 313
For installing libssl1.1, neither of the two answers posted above work anymore. I was able to find a modern answer here: https://gist.github.com/joulgs/c8a85bb462f48ffc2044dd878ecaa786
Essentially you run the following commands to install libssl1.1.
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
Upvotes: 3
Reputation: 10137
Unity Editor fails to launch and complains about "no usable version of libssl was found"
Ubuntu 22.04 now ships with libssl3 by default and does not include libssl1.1. Unity currently uses .NET5 which requires libssl1.1. To work around this issue you can install libssl1.1 from an older Ubuntu release
In a terminal:
echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt-get update
sudo apt-get install libssl1.1
Upvotes: 1