Version: 2019.3
从命令行安装 Unity
在没有 Hub 的情况下离线安装 Unity

Installing the Unity Editor for Linux

Unity 正式支持以下 Linux 发行版:

  • Ubuntu 16.04
  • Ubuntu 18.04
  • CentOS 7

To install the Unity Editor, follow these instructions:

  1. Download the latest version of the Unity Hub for Linux.

    The latest Hub version is available on the Linux release notes thread on the Unity forums. Note: The latest version is the last post in the thread.

  2. Download the latest Unity Setup Utility.

  3. Give the Setup Utility executable permissions and run the program.

    On Ubuntu-based distributions, double click the file you downloaded and select the Make Executable and Run option.

    You can also use the command line:

    $ chmod +x ~/Downloads/UnitySetup-2019.1.0f2
    $ ~/Downloads/UnitySetup-2019.1.0f2
    
  4. Follow the assistant wizard instructions.

    From this point forward, follow the install instructions for the Editor as outlined in the Installing the Hub documentation.

故障排除

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

sudo apt install libgconf-2-4

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

sudo yum install mesa-libGLU
从命令行安装 Unity
在没有 Hub 的情况下离线安装 Unity