changeset 1265:5f253dfe2803

replaced remaining mentions of apt-get by apt
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Mar 2026 15:58:06 +0200
parents a7a2473baff7
children 641cd90fb504
files Sphinx/source/faq/debian-daemon.rst Sphinx/source/plugins/mysql.rst Sphinx/source/plugins/odbc.rst Sphinx/source/plugins/postgresql.rst Sphinx/source/plugins/python.rst Sphinx/source/plugins/wsi.rst
diffstat 6 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/faq/debian-daemon.rst	Mon Mar 16 11:40:59 2026 +0100
+++ b/Sphinx/source/faq/debian-daemon.rst	Mon Mar 30 15:58:06 2026 +0200
@@ -5,12 +5,12 @@
 
 .. highlight:: bash
 
-"init" flavor
--------------
+"init" flavor (old instructions)
+--------------------------------
 
 To install Orthanc as a GNU/Linux `init daemon
-<https://en.wikipedia.org/wiki/Init>`__ on a Debian/Ubuntu system, you
-can:
+<https://en.wikipedia.org/wiki/Init>`__ on an old Debian/Ubuntu
+system, you can:
 
 1. Download this `service script
    <https://salsa.debian.org/med-team/orthanc/raw/master/debian/orthanc.init>`_
--- a/Sphinx/source/plugins/mysql.rst	Mon Mar 16 11:40:59 2026 +0100
+++ b/Sphinx/source/plugins/mysql.rst	Mon Mar 30 15:58:06 2026 +0200
@@ -68,7 +68,7 @@
 Ubuntu 16.04 (provided build dependencies for the :ref:`core of
 Orthanc <compiling>` have already been installed)::
 
-  $ sudo apt-get install libmysqlclient-dev
+  $ sudo apt install libmysqlclient-dev
   $ mkdir BuildMySQL
   $ cd BuildMySQL
   $ cmake ../MySQL/ -DCMAKE_BUILD_TYPE=Release \
--- a/Sphinx/source/plugins/odbc.rst	Mon Mar 16 11:40:59 2026 +0100
+++ b/Sphinx/source/plugins/odbc.rst	Mon Mar 30 15:58:06 2026 +0200
@@ -154,7 +154,7 @@
 Ubuntu 16.04 (provided build dependencies for the :ref:`core of
 Orthanc <compiling>` have already been installed)::
 
-  $ sudo apt-get install libodbc1 unixodbc unixodbc-dev
+  $ sudo apt install libodbc1 unixodbc unixodbc-dev
   $ mkdir BuildOdbc
   $ cd BuildOdbc
   $ cmake ../Odbc -DCMAKE_BUILD_TYPE=Release \
--- a/Sphinx/source/plugins/postgresql.rst	Mon Mar 16 11:40:59 2026 +0100
+++ b/Sphinx/source/plugins/postgresql.rst	Mon Mar 30 15:58:06 2026 +0200
@@ -499,7 +499,7 @@
 Ubuntu 16.04 (provided build dependencies for the :ref:`core of
 Orthanc <compiling>` have already been installed)::
 
-  $ sudo apt-get install libpq-dev postgresql-server-dev-all
+  $ sudo apt install libpq-dev postgresql-server-dev-all
   $ mkdir BuildPostgreSQL
   $ cd BuildPostgreSQL
   $ cmake ../PostgreSQL -DCMAKE_BUILD_TYPE=Release \
--- a/Sphinx/source/plugins/python.rst	Mon Mar 16 11:40:59 2026 +0100
+++ b/Sphinx/source/plugins/python.rst	Mon Mar 30 15:58:06 2026 +0200
@@ -1187,7 +1187,7 @@
 
   # This example is using a virtual env that is not mandatory when using Docker containers
   # but recommended since python 3.11 and Debian bookworm based images where you get a warning
-  # when installing system-wide packages.  RUN apt-get update && apt install -y python3-venv
+  # when installing system-wide packages.  RUN apt update && apt install -y python3-venv
   RUN python3 -m venv /.venv
 
   RUN /.venv/bin/pip install pydicom
--- a/Sphinx/source/plugins/wsi.rst	Mon Mar 16 11:40:59 2026 +0100
+++ b/Sphinx/source/plugins/wsi.rst	Mon Mar 30 15:58:06 2026 +0200
@@ -70,7 +70,7 @@
 Ubuntu 16.04 (provided build dependencies for the :ref:`core of
 Orthanc <compiling>` have already been installed)::
 
-  $ sudo apt-get install libopenjpeg-dev
+  $ sudo apt install libopenjpeg-dev
 
   # Firstly, compile the command-line tools
   $ mkdir Applications/Build