comparison Sphinx/source/users/cookbook.rst @ 801:db20ad016bc2

standalone debian repository
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 Dec 2021 13:58:29 +0100
parents d5a646b2b421
children f3caa014eb88
comparison
equal deleted inserted replaced
800:83beec704c98 801:db20ad016bc2
16 To obtain the Orthanc binaries, you have several possibilities: 16 To obtain the Orthanc binaries, you have several possibilities:
17 17
18 * `Download pre-compiled packages <https://www.orthanc-server.com/download.php>`__. 18 * `Download pre-compiled packages <https://www.orthanc-server.com/download.php>`__.
19 * :ref:`Use Docker <docker>`. 19 * :ref:`Use Docker <docker>`.
20 * On GNU/Linux, use precompiled packages for :ref:`Debian/Ubuntu 20 * On GNU/Linux, use precompiled packages for :ref:`Debian/Ubuntu
21 <debian-packages>`, or for `openSUSE 21 <debian-packages>` (courtesy of DebianMed and Sébastien Jodogne), or
22 <https://software.opensuse.org/search?q=orthanc>`__ (courtesy of 22 for `openSUSE <https://software.opensuse.org/search?q=orthanc>`__
23 Axel Braun). 23 (courtesy of Axel Braun).
24 * On GNU/Linux, use our `LSB binaries 24 * On GNU/Linux, use our `LSB binaries
25 <https://lsb.orthanc-server.com/>`__ (Linux Standard Base), that 25 <https://lsb.orthanc-server.com/>`__ (Linux Standard Base), that
26 should easily and immediately run on most distributions. Those 26 should easily and immediately run on most distributions. Those
27 binaries are statically linked together with all their third-party 27 binaries are statically linked together with all their third-party
28 dependencies. Don't forget to execute ``chmod +x ./Orthanc`` in 28 dependencies. Don't forget to execute ``chmod +x ./Orthanc`` in
29 order to be able to run the main Orthanc executable. 29 order to be able to run the main Orthanc executable.
30 * :ref:`Compile Orthanc by yourself <compiling>`. 30 * :ref:`Compile Orthanc by yourself <compiling>`.
31 * External contributors are also maintaining `Vagrant VM for Orthanc 31 * External contributors are also maintaining `Vagrant VM for Orthanc
32 <https://github.com/jodogne/OrthancContributed/blob/master/Links.md#user-content-vagrant>`__. 32 <https://github.com/jodogne/OrthancContributed/blob/master/Links.md#user-content-vagrant>`__.
33
34 .. highlight:: bash
35
36 Furthermore, if you are running Debian 9 (stretch), Debian 10
37 (buster), Debian 11 (bullseye), Ubuntu 18.04 LTS (bionic) or Ubuntu
38 20.04 LTS (focal) on an **AMD64 architecture**, Sébastien Jodogne
39 maintains a **standalone Debian repository** that provides the latest
40 versions of the LSB binaries. For instance, here is how to install the
41 :ref:`Stone Web viewer <stone_webviewer>` on a barebone Docker setup::
42
43 # docker run --rm -t -i -p 8042:8042 -p 4242:4242 debian:9
44
45 $ apt update
46 $ DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common wget curl nano gnupg apt-transport-https
47
48 $ apt install --upgrade ca-certificates
49 $ wget -qO - https://debian.orthanc-labs.com/archive.key | apt-key add -
50 $ apt-add-repository "deb https://debian.orthanc-labs.com/ `grep VERSION_CODENAME /etc/os-release | cut -d'=' -f 2` main"
51
52 $ apt clean && apt update
53 $ apt install orthanc-stone-webviewer
54 $ /etc/init.d/orthanc start
55
33 56
34 57
35 .. _orthanc-explorer: 58 .. _orthanc-explorer:
36 59
37 Opening Orthanc Explorer 60 Opening Orthanc Explorer