Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Orthanc - Installation on Linux

3,012 views
Skip to first unread message

psha...@gmail.com

unread,
Oct 28, 2017, 12:32:41 PM10/28/17
to Orthanc Users
Hello,

I am trying to install Orthanc on Linux box, but getting dependency errors.

root@ip-172-31-77-227:/tmp# sudo dpkg --install orthanc_1.2.0+dfsg-1_amd64.deb
(Reading database ... 51059 files and directories currently installed.)
Preparing to unpack orthanc_1.2.0+dfsg-1_amd64.deb ...
Unpacking orthanc (1.2.0+dfsg-1) over (1.2.0+dfsg-1) ...
dpkg: dependency problems prevent configuration of orthanc:
orthanc depends on dcmtk; however:
Package dcmtk is not installed.
orthanc depends on libboost-filesystem1.62.0; however:
Package libboost-filesystem1.62.0 is not installed.
orthanc depends on libboost-locale1.62.0; however:
Package libboost-locale1.62.0 is not installed.
orthanc depends on libboost-regex1.62.0; however:
Package libboost-regex1.62.0 is not installed.
orthanc depends on libboost-system1.62.0; however:
Package libboost-system1.62.0 is not installed.
orthanc depends on libboost-thread1.62.0; however:
Package libboost-thread1.62.0 is not installed.
orthanc depends on libcurl3 (>= 7.16.2); however:
Package libcurl3 is not installed.
orthanc depends on libdcmtk8; however:
Package libdcmtk8 is not installed.
orthanc depends on libjpeg62-turbo (>= 1.3.1); however:
Package libjpeg62-turbo is not installed.
orthanc depends on libjsoncpp1 (>= 1.7.4); however:
Package libjsoncpp1 is not installed.
orthanc depends on lib
dpkg: error processing package orthanc (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
orthanc


Please help

Sébastien Jodogne

unread,
Oct 29, 2017, 9:37:14 AM10/29/17
to Orthanc Users
Hello,

Please type the following command on Debian-based distributions:

# sudo apt-get install orthanc

You cannot manually install ".deb" files that are packaged for another version of your GNU/Linux distribution.

If Orthanc is not packaged for your distribution, compile it by yourself or check out Docker:

Regards,
Sébastien-

Salim Kanoun

unread,
Apr 8, 2018, 12:55:11 PM4/8/18
to Orthanc Users
Dear Sebastien, 

On the latest Linux Mint the sudo apt-get install Orthanc works but install the 1.0.0 version of Orthanc because the distro is based on Xenial Ubuntu package list.
The 1.3.1 is on Ubuntu Bionic repository (which is planed for April 2018 and will be used in Mint probably in July / August).

It is really fuzzy for me about who is controlling the update repos according to linux distros.

In Linux mint it is technically possible to add Bionic ubuntu repo but thenall packages of the Mint distribution will be updated to the lastest version and may introduce unstabilities in the OS.

Is there a way the Linux packages can be upgraded in older repositories than sid (Debian) and Bionic (Ubuntu) to get upgrade of Orthanc independenlty of the  distribution upgrade ? 

The problem these day is not major since Mint is going to use the Bionic repo probably next summer but then, if the Orthanc version keep to be updated  only in the newest LTS repository of Ubuntu it will mean that all Ubuntu-LTS based distros will only receive 1 update every 2 years. 

Best regards,

Salim

Sébastien Jodogne

unread,
Apr 9, 2018, 5:21:05 AM4/9/18
to Orthanc Users
Dear Salim,

Bringing a new version of Orthanc to an older Ubuntu release (typically, a LTS release) is now as "backporting". The process for initiating a backporting was discussed previously, and requires a member of the community to explicitly make a request to the Ubuntu packaging team:

As a consequence, if an updated package (e.g. for Ubuntu 16.04 LTS) is of interest to you, I kindly invite you to follow the dedicated process:

I don't know enough about Linux Mint, but a similar process should be available as well. Please keep us updated.

In the meantime, you can use the official Docker images to seamlessly run up-to-date versions of Orthanc on older GNU/Linux distributions:

Please also note that forthcoming Orthanc 1.3.2 will provide precompiled binaries compatible with the Linux Standard Base, which will run on any modern GNU/Linux distribution without recompiling and without using Docker.

HTH,
Sébastien-

Sébastien Jodogne

unread,
Apr 9, 2018, 5:31:03 AM4/9/18
to Orthanc Users
As a complement to my previous answer, note that it might be more appropriate to backport directly in Debian: As both Ubuntu and Mint are based upon Debian, this would indeed avoid duplicating the backporting process. Here is the related link:

I highly recommend you to ask about backporting the Orthanc Debian packages to the dedicated mailing list:

Note that even if I am the maintainer of these packages, I am personally too busy to maintain such backports. Maybe you will find contributors for this task on this mailing list.

Regards,
Sébastien-

Salim Kanoun

unread,
Apr 10, 2018, 6:14:58 PM4/10/18
to Orthanc Users
Thanks for your anwser sebastien ! 

You gave me valuable infos to contact the good community (and I think also that the debian repo is the key). 

I will investigate when I will get some time, for now i'm working on my Orthanc Tools in Java for monitoring services.

Thanks again and I will give you update when I will be in touch with Debian community.

Best regards,

Salim
Reply all
Reply to author
Forward
0 new messages