我正在使用 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。