Dependency problems during installation of Unity3D. Help!

Hello Everybody,

I’m switching from Windows to Ubuntu for school and I’m having a hard time trying to install Unity3D.
The *.deb files suppose to install through Software Center but it won’t install when I click install button. It’s only showing Installing then goes back to normal Install button. So I go into Terminal and type sudo dpkg -i unity-editor-5.1.0f3+2015082501_amd64.deb and I got this error message during unpacking:

sith@gthell:~/Downloads$ sudo dpkg -i unity-editor-5.1.0f3+2015082501_amd64.deb
Selecting previously unselected package unity-editor.
(Reading database ... 347356 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 libpng12-0; however:
  Package libpng12-0 is not installed.

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

I’m a complete newb to Ubuntu and Linux and I really want to get Unity3D to work on it. I’m really thank to those who take their time to help me! Thank.

Hi @GTHell , try downloading and installing the version from this link: http://files.unity3d.com/levi/unity-editor-5.6.0b8+20170214.torrent. It will open up in a program for downloading torrents and save to your Downloads folder. The file ending in “.deb” is the one you’ll want to install. Once the torrent download is complete, go to your Downloads folder and double-click on the Unity .deb file to install it from the Ubuntu Software Center. Installs and runs fine on Ubuntu 16.10 x64. Cheers. :slight_smile:

The file you’re using to currently install Unity in your original post looks super old. Probably has out-dated dependencies which aren’t available in current software repositories for Ubuntu.

1 Like

Oh, Silly me for thinking that the first post is the latest post. I’m downloading the new 5.6 and will update the post if it work. Thank everyone!