Skip to content

Instantly share code, notes, and snippets.

@TylerCode
Created May 25, 2024 16:34
Show Gist options
  • Save TylerCode/edde804b87f9b5a659c0e7d6c57c50fb to your computer and use it in GitHub Desktop.
Save TylerCode/edde804b87f9b5a659c0e7d6c57c50fb to your computer and use it in GitHub Desktop.
Install script for installing Unity Hub on Fedora Linux
#Use this to install unity on Fedora
sudo dnf install openssl openssl-libs GConf2
sudo sh -c 'echo -e "[unityhub]\nname=Unity Hub\nbaseurl=https://hub.unity3d.com/linux/repos/rpm/stable\nenabled=1\ngpgcheck=1\ngpgkey=https://hub.unity3d.com/linux/repos/rpm/stable/repodata/repomd.xml.key\nrepo_gpgcheck=1" > /etc/yum.repos.d/unityhub.repo'
# For beta hub, use this
#sudo sh -c 'echo -e "[unityhub-beta]\nname=Unity Hub Beta\nbaseurl=https://hub.unity3d.com/linux/repos/rpm/unstable\nenabled=1\ngpgcheck=1\ngpgkey=https://hub.unity3d.com/linux/repos/rpm/unstable/repodata/repomd.xml.key\nrepo_gpgcheck=1" > /etc/yum.repos.d/unityhub_beta.repo'
sudo dnf check-update
sudo dnf install unityhub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment