changeset 801:db20ad016bc2

standalone debian repository
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 Dec 2021 13:58:29 +0100
parents 83beec704c98
children 57d1b1680e71
files Sphinx/source/plugins/python.rst Sphinx/source/users/cookbook.rst
diffstat 2 files changed, 27 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/plugins/python.rst	Tue Dec 21 15:18:58 2021 +0100
+++ b/Sphinx/source/plugins/python.rst	Wed Dec 22 13:58:29 2021 +0100
@@ -772,7 +772,7 @@
 .. _python_received_instance:
 
 Modifying received instances (new in 3.5 - not released yet)
-...........................................
+............................................................
 
 Starting with release 3.5 of the Python plugin, it is possible to
 modify instances received by Orthanc before they are stored in
--- a/Sphinx/source/users/cookbook.rst	Tue Dec 21 15:18:58 2021 +0100
+++ b/Sphinx/source/users/cookbook.rst	Wed Dec 22 13:58:29 2021 +0100
@@ -18,9 +18,9 @@
 * `Download pre-compiled packages <https://www.orthanc-server.com/download.php>`__.
 * :ref:`Use Docker <docker>`.
 * On GNU/Linux, use precompiled packages for :ref:`Debian/Ubuntu
-  <debian-packages>`, or for `openSUSE
-  <https://software.opensuse.org/search?q=orthanc>`__ (courtesy of
-  Axel Braun).
+  <debian-packages>` (courtesy of DebianMed and Sébastien Jodogne), or
+  for `openSUSE <https://software.opensuse.org/search?q=orthanc>`__
+  (courtesy of Axel Braun).
 * On GNU/Linux, use our `LSB binaries
   <https://lsb.orthanc-server.com/>`__ (Linux Standard Base), that
   should easily and immediately run on most distributions. Those
@@ -31,6 +31,29 @@
 * External contributors are also maintaining `Vagrant VM for Orthanc
   <https://github.com/jodogne/OrthancContributed/blob/master/Links.md#user-content-vagrant>`__.
 
+.. highlight:: bash
+
+Furthermore, if you are running Debian 9 (stretch), Debian 10
+(buster), Debian 11 (bullseye), Ubuntu 18.04 LTS (bionic) or Ubuntu
+20.04 LTS (focal) on an **AMD64 architecture**, Sébastien Jodogne
+maintains a **standalone Debian repository** that provides the latest
+versions of the LSB binaries. For instance, here is how to install the
+:ref:`Stone Web viewer <stone_webviewer>` on a barebone Docker setup::
+
+  # docker run --rm -t -i -p 8042:8042 -p 4242:4242 debian:9
+
+  $ apt update
+  $ DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common wget curl nano gnupg apt-transport-https
+
+  $ apt install --upgrade ca-certificates
+  $ wget -qO - https://debian.orthanc-labs.com/archive.key | apt-key add -
+  $ apt-add-repository "deb https://debian.orthanc-labs.com/ `grep VERSION_CODENAME /etc/os-release | cut -d'=' -f 2` main"
+
+  $ apt clean && apt update
+  $ apt install orthanc-stone-webviewer
+  $ /etc/init.d/orthanc start
+
+
 
 .. _orthanc-explorer: