Last active
August 31, 2023 02:19
-
-
Save Tiryoh/7474f06019692da0df0e74579503dbe7 to your computer and use it in GitHub Desktop.
install Unity Hub on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
# Unity Hub install script | |
# Tested Version: Ubuntu 20.04 + Unity Hub 3.4.1 | |
# | |
# (C) 2023 Daisuke Sato | |
# Released under the MIT License | |
# https://tiryoh.mit-license.org/2023 | |
wget -4 --trust-server-names -qO- https://hub.unity3d.com/linux/keys/public | sudo gpg --dearmor -o /usr/share/keyrings/unity-hub-keyring.gpg | |
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/unity-hub-keyring.gpg] https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment