Перейти к содержимому

Как установить unity hub на ubuntu

  • автор:

Installing the Unity Hub

The Unity Hub is a management tool that you can use to manage all of your Unity Projects and installations. Use the Hub to manage multiple installations of the Unity Editor along with their associated components, create new Projects, and open existing Projects.

To install the Unity Hub for Windows, macOS, and Linux visit Download Unity on the Unity website.

Unity officially supports the following Linux distributions:

  • Ubuntu 16.04
  • Ubuntu 18.04
  • CentOS 7

Note: If Unity Hub fails to launch while you are using Linux, you might need to give UnityHub.AppImage executable permissions. To do this:

  1. Open your terminal.
  2. Go to the directory where UnityHub.AppImage is. This will be the Unity Hub directory.
  3. Run chmod +x UnityHub.AppImage .

To install and use the Unity Editor, you must have a Unity Developer Network (UDN) account. If you already have an account, sign in, choose your licenses type, and proceed to the Installing the Unity Editor section.

If you do not have an account, follow the prompts to create one. You can choose to create a Unity ID or use one of the social sign-ins. For more information on accounts and subscriptions, see Unity Organizations.

Installing the Unity Editor

To install the Editor:

Click the Installs tab. The default install locations are:

Note: If you want to change the default installation location, follow these steps:

From the top right corner of the Hub window, click the Gear icon.

In the Editor Folder Location dialog box, enter the new installation location and click Done.

Click the Add button and select a specific version of the Editor.

Click the Next button and select the modules you want to install with the Editor. If you don’t install a component now, you can add it later if you need to. When you’ve selected all the modules you need, click Done.

If you are installing multiple Editor versions, the first installation starts as soon as the download is complete. Other selected versions download simultaneously and queue to start when the current installation finishes.

The Hub displays the installation location of each Editor under the corresponding version label.

To add modules to an Editor, locate its files, or uninstall it, click the three dots next to that Editor version.

Modifying an existing Editor installModifying an existing Editor install

Adding existing instances of the Editor to the Hub

You can add instances of the Editor to the Hub that you installed outside of the Hub.

Click the Installs tab.

Click the Locate button to find existing installations of the Editor.

In the file dialog, navigate to the location of the Editor installation and select the Unity executable. On MacOS this is Unity.app. On Windows this is Unity.exe.

On Windows, the typical location of the Unity.exe is:

On macOS, the typical location of the Unity.app is:

On Linux, the typical location of the Unity executable file is:

Click the Select Editor button.

To remove the Editor from the Hub, click the three dots next to the Editor version. Removing an Editor that you added in this manner does not uninstall it or modify it in any way.

Troubleshooting for Linux

If Unity fails to start, you might need to install a missing dependency
See in Glossary . On Ubuntu-based distributions, use:

On CentOS, you might need to install the mesa-libGLU dependency. Use:

Support for Editor versions prior to 2017.1

Sign-in status is not shared for pre–2017.1 versions of the Editor opened through the Hub. Performing tasks such as Manage License, Open Project, Create Project, and Sign in opens the Unity Launcher instead of the Hub.

If you attempt to use the Unity Hub to open an Editor version 5 or earlier and you do not have an appropriate license file, the Editor will hang on the splash screen.

To avoid this issue, run the Editor directly, external to the Unity Hub, and the Editor will load correctly even if the license file is not detected.

Using the Unity Installer to install the Unity Editor

The Unity installer is a small executable program (approximately 1 MB in size) that lets you select which components of the Unity Editor you want to download and install.

To install previous versions of the Unity Editor using the Installer, visit the Unity download archive. The archive page provides Unity Installer download links for all released versions of the Editor.

For additional information on installing the Editor using the Installer, see the 2018.3 version of the Unity Manual.

Install Unity Hub on Ubuntu

Many candidates are rejected or down-leveled in technical interviews due to poor performance in behavioral or cultural fit interviews. Ace your interviews with this free course, where you will practice confidently tackling behavioral interview questions.

Unity Hub is a software management tool that serves as a central hub for managing projects, installations, and versions of Unity. Unity hub allows developers to easily switch between different Unity versions, install modules and collaborate with the team.

Install Unity on Ubuntu

Navigate to the official Unity website and click on "See other Unity Plans".

Choose a plan according to your preference and click on the download button. For this Answer, we'll go with the "Unity Personal" plan.

A new page opens. Scroll down to find the download option. Click on "Download now."

Once the download is complete, navigate to the downloads folder. Right-click the downloaded file, choose Properties > Permissions, and check "Allow executing file as a program."

Right-click in the downloads folder and open the terminal copy and paste the following command. This is an optional step so we can move the executable file to separate folder.

We'll use MenuLibre which is an advanced menu editor for the Free and Open Source desktop to install Unity Hub. It can be installed using the command shown below:

Open applications, search for the menu editor, and open it.

From the left side menu, click "Programming," then click on the plus icon in the top left corner and select "Add Launcher."

Change the launcher name to "Unity Hub." Click on the command prompt, navigate to "Other Locations" > "Computer" > "opt" > "UnityHub.AppImage." Then click on the download button in the top left corner.

Open applications and search "Unity Hub." Click on it, and sign into your Unity Hub account.

Unity Hub allows you to create all of your Unity projects. You can also download and install the different versions of the Unity Editor and even manage all of your licenses.

Installing Unity Hub on Ubuntu 22.04

There are two problems in the Unity Hub installation tutorial (Installing the Unity Hub on Linux):

  1. Ubuntu 22.04 uses OpenSSL 3 while Unity Editors use OpenSSL 1.0 (Workaround for libssl issue on Ubuntu 22.04);
  2. The second instruction uses the apt-key command, which is deprecated on Ubuntu 22.04 (apt-key Is Deprecated. How To Add OpenPGP Repository Signing Keys Without It).

Thus, I decided to provide this brief tutorial with the appropriate commands.

Tutorial

Downloading OpenSSL 1.0:

  • Download libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb from http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/.

Installing OpenSSL 1.0:

Exit fullscreen mode

Adding the Unity3D repository:

Exit fullscreen mode

Adding the public signing key:

Exit fullscreen mode

Installing the Unity Hub:

Exit fullscreen mode

Uninstalling the Unity Hub:

Exit fullscreen mode

Top comments (10)

henriquecosta21 profile image

Super bro!
I would like to leave some comments here. if you’re trying this tutorial after 27/04/2023 and maybe using something based on Ubuntu 22.04.2 LTS, you can find the right .deb here .

Install Unity Hub in Ubuntu 20.04

Unity, developed by Unity Technologies, is a game engine. It was first released on June 08, 2005. Furthermore, at the time of writing the article the latest stable release is 2019.3.10. In this article, we would discuss how to install Unity Hub in Ubuntu 20.04 distribution.

We can built 2D, 3D, Augmented Reality and Virtual Reality applications with Unity. However, its not just about video game applications. There is more to it – construction, films, manufacturing etc related applications can also be built.

Install Unity Hub in Ubuntu 20.04

First, visit Unity store home page to download the relevant package. Therein, we have to select the appropriate subscription plan. Free version is available under Individuals section –> Personal. But, there are associated terms and conditions. Download the free version only if you comply, otherwise choose relevant subscription.

For free version, click on Get Started button. It will take you to new address. Click on Start Here button and accept terms and conditions to download the relevant package.

Thereafter, a package file – UnityHub.AppImage will be available to us. It is basically an AppImage file. Now, all we need to do is –

  1. Make the file executable
  2. Run the AppImage file.

To make the file executable, we would use chmod command-line utility –

a+x makes our file executable for all users.

Through chmod command-line utility, file mode bits can be modified. We will discuss more about it and Appimage file in coming articles.

To run the executable, issue the following in terminal –

Now, if we are running the UnityHub.AppImage file for the first time. Then, it will ask us to accept Package License Terms and Conditions. Accept if you comply. Once you accept T&Cs, it will make relevant links in our System’s main menu.

Alternately, we can also access the Unity Hub package through terminal also –

Next, open the Unity Hub application and under Installs tab –> Add a Unity version of your choice –> Add relevant modules.

In conclusion, we have discussed how to install Unity Hub in Ubuntu 20.04 distribution.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *