Skip to content

Instantly share code, notes, and snippets.

@Tiryoh
Last active August 31, 2023 02:19
Show Gist options
  • Save Tiryoh/7474f06019692da0df0e74579503dbe7 to your computer and use it in GitHub Desktop.
Save Tiryoh/7474f06019692da0df0e74579503dbe7 to your computer and use it in GitHub Desktop.
install Unity Hub on Ubuntu
#!/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