How to install StarUML and it's dependencies?

I just installed Ubuntu 16.04 and want to install StarUML. I downloaded StarUML from http://staruml.io/download/release/v2.0.2/StarUML-v2.0.2-64-bit.deb, then in the terminal:

dpkg -i StarUML-v2.0.2-64-bit.deb

I got this message:

Unpacking staruml (2.0.2) ...
dpkg: dependency problems prevent configuration of staruml:
staruml depends on libgcrypt11 (>= 1.4.5); however:
Package libgcrypt11 is not installed.

dpkg: error processing package staruml (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
staruml

What can I do?


You can download and install the libgcrypt11 package from Precise and Trust Ubuntu repositories, for example: https://launchpad.net/ubuntu/+archive/primary/+files/libgcrypt11_1.5.3-2ubuntu4.2_amd64.deb

sudo dpkg -i libgcrypt11_1.5.3-2ubuntu4.2_amd64.deb
sudo dpkg -i StarUML-v2.8.0-64-bit.deb

The StarUML package has a couple of dependencies:

Depends: gconf-service,
 libasound2 (>= 1.0.23),
 libatk1.0-0 (>= 1.12.4),
 libc6 (>= 2.11),
 libcairo2 (>= 1.6.0),
 libcups2 (>= 1.4.0),
 libdbus-1-3 (>= 1.2.14),
 libexpat1 (>= 1.95.8),
 libfontconfig1 (>= 2.8.0),
 libfreetype6 (>= 2.3.9),
 libgcc1 (>= 1:4.1.1),
 libgconf-2-4 (>= 2.31.1),
 libgcrypt11 (>= 1.4.5),
 libgdk-pixbuf2.0-0 (>= 2.22.0),
 libglib2.0-0 (>= 2.18.0),
 libgtk2.0-0 (>= 2.24.0),
 libnspr4 (>= 1.8.0.10),
 libnss3 (>= 3.12.6),
 libpango1.0-0 (>= 1.22.0),
 libstdc++6 (>= 4.6),
 libudev0 (>= 147) | libudev1 (>= 198),
 libx11-6 (>= 2:1.4.99.1),
 libxcomposite1 (>= 1:0.3-1),
 libxdamage1 (>= 1:1.1),
 libxext6, libxfixes3,
 libxrandr2 (>= 2:1.2.0),
 libxrender1,
 ca-certificates,
 libcurl3,
 lsb-base (>= 3.2),
 xdg-utils (>= 1.0.2),
 wget

Some of these are trivial and should be found on most desktop installations.

If you install them using:

sudo apt-get install ./StarUML-v2.0.2-64-bit.deb 

apt-get will find and install the dependencies automatically.

Now, the specific package that is lacking "libgcrypt11" is only available on Precise and Trust (12.04 and 14.04)]1, it was replaced with libgcrypt20 by Debian, and therefore Ubuntu.

I would contact the package maintainer of the package , you can find out who they are with this command

dpkg --info StarUML-v2.0.2-64-bit.deb | grep Maintainer