I am following the official instructions at Install the Unity Hub | Unity Hub | 3.0 to install Unity Hub on Ubuntu. When I execute this command (after succesfully executing the ones before it) I get an error:
$ sudo apt-get install unityhub
Reading package lists…
Building dependency tree…
Reading state information… E: Unable to locate package unityhub
It seems the package just doesn’t exist in the repository currently? Please help.
OK, managed to resolve this! Apparently the issue was on my end: I was trying to install Unity Hub in the context of Docker on an arm64 machine, and the unityhub package doesn’t exist on that platform. When building my Docker image in an x86_64-based environment it installed properly.
If you encounter a problem after specifying its command in the terminal, delete the last character ‘-’ and re-enter it, the problem is in the copied text initially it is copied with the wrong last character, then enter the command " sudo sh -c ‘echo “deb [signedby=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main” > /etc/apt/sources.list.d/unityhub.list’ " and then “sudo apt update”, after entering all commands, if there are no problems, enter “sudo apt-get install unityhub”