Vignana-Jyothi / vnr-ar-vr

0 stars 0 forks source link

Install Unity on Ubuntu #1

Closed head-iie-vnr closed 5 months ago

head-iie-vnr commented 5 months ago

Topic scope

head-iie-vnr commented 5 months ago

Certainly! Here are the comprehensive instructions to set up Unity on Ubuntu, combining your notes with additional steps and clarifications.

Steps to Set Up Unity on Ubuntu

  1. Clone Your Repository:

    git clone git@github.com:Vignana-Jyothi/vnr-ar-vr.git
    cd vnr-ar-vr
  2. Add Unity Technologies' Public Key:

    wget -qO - https://hub.unity3d.com/linux/keys/public | gpg --dearmor | sudo tee /usr/share/keyrings/Unity_Technologies_ApS.gpg > /dev/null
  3. Add Unity Hub Repository:

    sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
  4. Update Package List and Install Unity Hub:

    sudo apt update
    sudo apt-get install unityhub

How to Start Using Unity Hub

  1. Launch Unity Hub:

    unityhub
  2. If Unity Hub Fails to Start, Install Additional Libraries:

    sudo apt install libgtk2.0-0 libnss3 libgconf-2-4 libasound2 libxss1
  3. Install gconf2-common and libgconf-2-4 Packages:

    wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf2-common_3.2.6-4ubuntu1_all.deb
    sudo dpkg -i gconf2-common_3.2.6-4ubuntu1_all.deb
    wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/libgconf-2-4_3.2.6-4ubuntu1_amd64.deb
    sudo dpkg -i libgconf-2-4_3.2.6-4ubuntu1_amd64.deb
    sudo apt --fix-broken install
  4. If You Need to Run Unity Hub with an Environment Variable:

    APPIMAGE_EXTRACT_AND_RUN=1 unityhub

Inside Unity Hub

  1. Create and Log In to Your Account:

    • Open Unity Hub.
    • Create an account if you don't already have one.
    • Log in using your username and password.
  2. Install the Unity Editor:

    • After logging in, you will be prompted to install the Unity Editor.
    • Follow the prompts to install the Unity Editor.

By following these steps, you should be able to set up Unity on Ubuntu and start using it for your development needs. If you encounter any issues, refer to the error messages for guidance and consider checking Unity forums or support channels for additional help.