How to install unity on linux

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:

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.

Hub install screen

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.

Modules install

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 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.

Читайте также:  Криптопро эцп browser plug in firefox linux

Troubleshooting for Linux

If Unity fails to start, you might need to install a missing dependency In the context of the Package Manager, a dependency is a specific package version (expressed in the form package_name@package_version ) that a project or another package requires in order to work. Projects and packages use the dependencies attribute in their manifests to define the set of packages they require. For projects, these are considered direct dependencies; for packages, these are indirect, or transitive, dependencies. More info
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.

  • Hub design updated in Unity 2019.1 NewIn20191
  • Linux now available from the Hub in Unity 2019.1 onwards

Источник

Unity на Linux? Да без проблем

Думаю долго мучает эта идея многих из нас: А не перейти ка мне полностью на Linux? Так было и со мной. Много дней раздумий, много за и против.

Все кто открыл эту статью, не раз сталкивались с этим родом ОС, но мало кто оставался на ней надолго. Тоже происходило и со мной. Очень часто. В один день я решился. Поставил Mint 18, так как по мне, самый удобный, настроил драйвера и пошло поехало.

Думал как ставить Unity так, чтобы не через Wine. И о чудо. Unity уже давно ведут ветку Linux пакетов, готовых к установке. Есть у них как и .sh скрипт, так и готовый .deb пакет(ссылки внизу).
Каждая выпускаемая версия Unity собирается и для нашей OC. Есть косяки иногда, но они малозаметны и, в принципе, для комфортной разработки есть всё что нужно и всё хорошо работает.
И так. Unity ставится просто и легко

  1. С помощью готового .deb пакета через менеджер
  2. Или через терминал

Дальше начинается неразбериха. Думаю вы знаете, что Unity использует свой компилятор. Ему нежен .Net версии 3.5.

Я пробовал для работы Rider от JB(на окнах всё хорошо, в Ubuntu,Mint ругается на отсутствие .Net 3.5), VSCode(тоже самое и ещё чуть чуть) и новый MonoDevelop, который поставляется через flatpack. Но с ним оказалась куча проблем, главной из которых является неполное, а с моей стороны даже некорректное чтение файловой системы. Лезет не в те разделы, не видя при этом то, что надо. В итоге нарушается линковка и вы вряд ли захотите каждый раз мучаться с настройкой библиотек. Поэтому я пришёл к простому решению — поставить Mono из стандартных репозиториев через apt. Приступим.

Читайте также:  Hp scanjet 3500 driver windows 10

Советую сделать перед началом всего

Обновились.
Дальше ставится Mono версии 5.9.6\

И так. Нам нужна сама программа. Мы её получили. Указываем на неё в Unity.
В Unity идём Edit->Preferences->External Tools->External Script Editor выбираем пункт monodevelop

Запускаем. Всё хорошо. Но линковщик ругается: чувак, а где .Net 3.5? И многие тут стопорятся. У mono есть так называемые mono-reference-assemblies. Нам то оно и нужно

В итоге: Unity замечательно дружит с Linux, не создавая проблем при разработке. Так же всё ПО, которое было у меня на Windows, я смог заменить аналогами на Linux Mint.

Источник

How to install Unity3D on Ubuntu 18.04?

Is there any way to install Unity 3D without wine? Installation from terminal would be good.

3 Answers 3

The recommended way of installing Unity on Linux is by first installing Unity Hub.

Unity Hub setup file:

Make sure that UnityHub.AppImage file is executable.

You can install the preferred version of Unity in the Installs section of Unity Hub application. It will automatically download and install it for you.

I wrote an article describing each step in detail, which you can find from the link below:

Unity3D is being released via a «Download Helper» now. Instructions to use it are as follows:

  1. Head to the Unity-on-Linux Release Thread and go to the last page. The last post will contain the latest release. As of the time of this posting, that’s this one. Download it.
  2. Make that download executable. For example, chmod +x UnitySetup-2018.2.7f1

Install the prerequisites via

Run the installer.

I like to place it in the /opt folder once it’s installed and create a link so that I can launch it from the command line.

Once that’s done, you can type unity3d to launch the Unity3D Editor.

The last .deb version was actually Unity 2017.2.1f1. After that all the other version came in as .sha extension. .deb version actually automatically installs all the required dependencies. But now you have to install the dependencies on your own first.

Install the dependencies

I also recommend installing build essentials

Click on .html download links of the Unity version you want and select Linux download assistant.

After it is installed you can simply double click the setup file or run that using command line by:

Источник

How to install Unity game engine in Linux?

Unity engine has announced the support for Linux. Follow this guide to install Unity 3d on Linux and start developing games and fun projects.

By supersu
Post date

Table of Contents

Unity is a cross-platform game engine developed by Unity Technologies. It supports development for more than 25 platforms.

It can be used to create three-dimensional, two-dimensional, virtual reality, and augmented reality games, as well as simulations and other experiences.

Unity supports developments on Linux, Windows and macOS. Its has some great features that make the development of games easy.
You can code in C#(sharp) or Unity script to develop games with Unity.

In this article, I am going to guide you through Unity installation on Linux. On Linux, you have to install a package named Unity hub before installing the real Unity installer.

From this Unity hub, you can choose and download different versions of Unity. You may note that it does not support Resume/Pause support and you might have problem downloading with a very bad internet connection.

If you have internet issues then you might be interested in contacting the Unity support team. They will provide you download link for download Unity editor with Unity hub.

After downloading Unity editor, just extract it and locate its path in the Unity hub. Let’s now begin installing Unity hub.

Install Unity Hub on Linux

Go to Unity’s official website and Download Unity Hub. This will be supplied to you in a portable Appimage format. You can easily run Appimage files without installation.

The approximate download size for Unity hub is 80 megabytes.

Before you can run Unity hub, you need to Allows it to execute as a program. To do so Right clickPropertiesPermissionsAllow executing file as a program.

Once done, click to open Unity hub.

Install Unity editor and other tools

So , click on Installs to install a new version of Unity editor.

Here, you can see that I have already installed a version of Unity. You will see this page blank.

Click on the Add button to choose and install a version of Untiy editor.

Now select a version of Unity that you wish to install. I suggest you to install the recommended release and click Next.

Now, select all the modules that you want to install. You can always install these modules later with just a click.

The download size of Unity editor alone is 2 G.B. , once you are done selecting the modules that you want to proceed with click Done.

It has started downloading the Unity editor. The download file is stored in the temp directory of your system and once Unity is done downloading, it will extract the file in your home directory.

The download process will take some time depending on your network connection.

After the installation is finished see the Add project step.

Install additional Modules in Unity

As I said earlier you can easily install additional modules in Unity with just a click. So, lets see how we can do this.

These additional modules includes, build support, documentation and different language translations.

Go to the Installs page in Unity hub and click on the three dots that you see on your unity installation and select Add Modules.

Now select all the modules that you want to install. The one in the black marks are those that I had already installed.

The download size for these modules is given on left and on right total disk space needed is written.

Once you are done selecting, click Done and the Hub will start adding additional modules to your previous installation.

Install beginner project from the Hub

Unity comes with a lot of beginner friendly game projects that you can download to better learn Unity.

Go to the Learn section in Unity hub and under Projects, select a project that you wish to install.

Click on Download Project, this will start downloading the project. Once its downloaded it will be added to your Projects list. You can launch it from there.

Add a project in Unity

Once you are done with the installation process and have added additional modules (not necessary) you can add a project in Unity hub. SO lets get started.

Go to Projects and click on New to add a new project. Click on Add if you have a previous project that you want to load in this installation.

Choose a template, give your project a name and select its location. Once, done click on Create.

As soon as you click on Create project, Unity will start creating your project and launch ti for you.

Now you can edit the project as per your wish.

Tell me and other readers your experience with this amazing tool in the comments below.

Источник

Читайте также:  Как отключить рекомендации windows 10
Оцените статью