Unity3d 安装错误

Unity3d 安装错误

我正在使用 Ubuntu 17.04,并尝试在其上安装 unity 3d,但完成该过程后它不在应用程序中。我搜索它但找不到它。

我也尝试使用 GDEBI 包安装程序但它显示错误Dependency is not satisfiable: libpng 12-0

$ sudo dpkg -i Downloads/FlareGet/Applications/unity-editor-5.1.0f3+2015082501_amd64.deb
Selecting previously unselected package unity-editor.
(Reading database ... 175908 files and directories currently installed.)
Preparing to unpack .../unity-editor-5.1.0f3+2015082501_amd64.deb ...
Unpacking unity-editor (5.1.0f3) ...
dpkg: dependency problems prevent configuration of unity-editor:
 unity-editor depends on lib32gcc1 (>= 1:4.1.1); however:
  Package lib32gcc1 is not installed.
 unity-editor depends on lib32stdc++6 (>= 4.6); however:
  Package lib32stdc++6 is not installed.
 unity-editor depends on libc6-i386 (>= 2.15); however:
  Package libc6-i386 is not installed.
 unity-editor depends on libpango1.0-0 (>= 1.22.0); however:
  Package libpango1.0-0 is not installed.
 unity-editor depends on libpng12-0; however:
  Package libpng12-0 is not installed.

dpkg: error processing package unity-editor (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
 unity-editor

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  unity-editor
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 2,991 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 182828 files and directories currently installed.)
Removing unity-editor (5.1.0f3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.24-9ubuntu2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...

答案1

首先,它没有出现在应用程序中的原因是它尚未安装...查看输出中的以下行

“以下套餐将已删除: unity 编辑器

正如解释的那样在 Ubuntu 16.04 上安装 Unity3d dpkg不处理依赖项。如果可能,请尝试使用gdebi某些依赖项解析安装程序。

如果apt-get install -f不起作用,也许可以尝试新版本的 Unity?

5.1 有点旧了

例如使用https://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/ (在页面底部)

以下步骤在新的干净的 Ubuntu 17.04 上对我来说效果很好。安装

1. 获取.deb 文件

https://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/ (最新版本位于页面底部)

2. 安装 gdebi

sudo apt-get install gdebi

3.使用 gdebi 安装 unity

sudo gdebi unity-editor_amd64-5.5.3xf1Linux.deb

gdebi 现在应该解决依赖关系并向您显示将安装哪些包。

-> 输入 'y' + ENTER 进行安装

“解压 unity-editor ()” 可能需要几分钟才能完成,所以请耐心等待。

4.启动Unity3d

由于大多数桌面(我不知道您使用的是哪种)都有搜索功能,只需搜索“Unity”即可。它应该显示如下 在此处输入图片描述

5. 登录

溅起水花后 在此处输入图片描述

系统将要求您使用您的帐户数据登录或创建一个帐户。 在此处输入图片描述

并回答以下问题“我同意”;) 在此处输入图片描述

6. 修复许可证错误

可能会发生(对我来说确实如此)出现许可证错误。点击右侧的“重新激活” 在此处输入图片描述

并且..您将被再次要求同意 在此处输入图片描述

此后,您必须选择您的许可证类型(例如个人;)) 在此处输入图片描述

并且(尽管我们说的是个人)回应以下内容(例如这样) 在此处输入图片描述 (请诚实地对待这一点,因为软件开发人员也需要依靠某种东西生存;))

完成此步骤后你应该看到这个屏幕 在此处输入图片描述

7.使用 Unity

根据您的需求创建一个新项目并打开它。 在此处输入图片描述

完成:)您现在应该能够在 Ubuntu 上使用 Unity。

相关内容