Installing Orthanc on Debian and Ubuntu: when packages fit your server
If your Linux team must run a DICOM server inside its own network, Orthanc is distributed as Linux packages for Debian and Ubuntu, and the package route is often the most natural fit when you already manage hosts with systemd, configuration management and standard patching. The packages install Orthanc as a service on the host itself, so the team controls the operating system, the network path to modalities and viewers, and the disk layout. The Orthanc core is licensed GPLv3 or later, while some components, such as the PostgreSQL and web viewer plugins, are licensed AGPLv3 or later, so confirm the license of each plugin you plan to deploy before it reaches a production server.
The package route gives you host-level configuration and logs. The service is managed through systemd, its configuration lives in files on the host, and logs are written to /var/log/orthanc/, which your existing log shipping and retention tooling can pick up. Upgrades follow your normal package cadence, which is simpler to audit than a container image swap if your change process is built around host patching. The trade-off is that the server's dependencies, plugin versions and library state become your responsibility. Compare that with the Docker route, where the image pins a known set of components, and decide which model your change management team can actually govern.
Choose packages when your team wants direct control of the host, already runs configuration management for Linux servers, and can keep Orthanc core and plugin versions aligned through its own process. Choose containers when you need repeatable environments across sites or want images as the unit of change. Before you commit, confirm with the Orthanc download page which packages and plugin builds are published for your Debian or Ubuntu release, and plan how the core and each plugin will be upgraded together.
Package or Docker: which install route fits your team
The package route fits a team that already administers Debian or Ubuntu servers with systemd, apt and standard file permissions. Operators edit configuration files on the host, read logs in the standard system locations and use the tools they already use for other services. The Docker route fits a team that already builds, scans and runs container images, manages volumes and writes Compose or orchestrator manifests. Neither route is easier in the abstract. The question is which skills your staff already hold and which ones you would need to hire or contract for.
- Host administration: Package installs follow ordinary Linux administration, including service units, users and file ownership.
- Container operations: Docker installs require volume management, image pinning and healthcheck configuration.
- Troubleshooting path: Package operators read host logs directly, while container operators read container output and mounted volumes.
- Skills gaps: Ask your partner which skills the handover will assume and whether training is part of the scope.
- Support depth: Confirm who on your side can diagnose a failed start without outside help.
Check which route your platform engineers can operate unassisted during an incident.
Package installs receive updates through the operating system package manager, so security and bug fixes move through the same change process as the rest of the host. Docker images are replaced as whole images, which means each upgrade is a new image tag pulled and started. Both routes need a written upgrade plan, because Orthanc core releases, database plugins and the PostgreSQL server underneath can change on different schedules. Release notes should be reviewed before every upgrade, and the upgrade path should be tested against a copy of your data.
- Release cadence: Core releases such as 1.12.10, 1.12.11 and 1.13.0 are published separately, so track each one against your own change windows.
- Host patch cycle: Package installs may be patched alongside the host, which can pull in unrelated changes at the same time.
- Image pinning: Docker deployments should pin exact tags rather than floating tags, so upgrades happen only when you choose.
- Rollback: Confirm how you return to the previous version and whether database schema changes block that rollback.
- Test environment: Ask how the partner validates upgrades before production.
Before choosing, write down who approves an Orthanc upgrade and how long your change process takes.
Plugins are the main source of version mismatch in Orthanc deployments. With packages, you install the core and the plugin packages separately, and they must stay at compatible versions. With Docker, the image publisher bundles a set of plugins at versions they tested together, which reduces mismatch risk but limits which plugins are available in a given image. The Docker images are a separate delivery path from the Debian and Ubuntu packages, so the plugin set you get depends on the image variant you select, not only on the core version.
- Package plugins: Install the database, storage and viewer plugins you need and pin them to the core version.
- Bundled plugins: Check whether the image variant you select includes the PostgreSQL, object storage and viewer plugins your design requires.
- Mismatch risk: A core upgrade without the matching plugin upgrade can stop the service from starting.
- Custom plugins: Confirm whether your Lua or Python scripts depend on plugin behavior that changes between releases.
- Licensing: The core and plugins carry different licenses, so review the plugin list with your compliance lead.
Ask for the exact plugin list and versions your deployment will run, in writing.
Many organizations decide the route by their host standards. Some require every server to run an approved Linux distribution build, managed by configuration management and scanned by the same tools. Others standardize on container platforms and expect new services to ship as images. Hospital and public sector networks often add requirements for host hardening, logging to a central system and restricted outbound traffic. Either route can meet these requirements, but each needs different evidence and different controls.
- Configuration management: Package installs fit existing Ansible or similar tooling, while Docker installs fit image registries and orchestrators.
- Logging: On Linux, Orthanc writes logs to /var/log/orthanc/, so confirm how that directory reaches your central logging system.
- HTTPS prerequisites: The official Debian-family package needs libssl-dev installed for built-in HTTPS, so include it in your build baseline.
- Vulnerability scanning: Confirm whether your scanner covers host packages, container images or both.
- Data locations: Check where the index and DICOM files sit, since both routes can use local or external storage.
Before committing, confirm your host standard with your security team and ask the partner to map each requirement to one route.
Configuration and plugin options for a package install
This table compares the main configuration decisions a package install of Orthanc forces, including the index database, HTTPS, remote access, viewers and authorization. Read each row for when the option fits, what it costs you in operations, and which supplied limit applies. Most hospital-facing installs will need decisions in at least four of these rows before go-live.
| Decision | Option and when it fits | Trade-off | Limit to check |
|---|---|---|---|
| Index database | Built-in SQLite index for a small archive, a test server or a single-site pilot | No extra database server to run, but it is a single-instance design with no shared index | Replace SQLite once the archive reaches several hundred thousand DICOM instances (Orthanc Book scalability FAQ) |
| Index database | PostgreSQL plugin for a larger archive, multi-instance setups or a database team you already run | Adds a PostgreSQL server to install, patch, back up and monitor, and its schema must be upgraded with Orthanc | The docs recommend this plugin for large datasets; confirm the plugin version matches your Orthanc core |
| HTTPS | Built-in HTTPS on the Orthanc listener for a single host with no proxy in front | Certificate handling and TLS settings live in Orthanc config, and the package needs libssl-dev installed or Orthanc fails to start | Install libssl-dev before enabling built-in HTTPS (Orthanc Book HTTPS FAQ) |
| HTTPS | Reverse proxy such as nginx or Apache terminating TLS in front of Orthanc | Another service to configure and patch, but it centralizes certificates, upload limits and access logs | Orthanc's own documentation recommends HTTPS and a reverse proxy for Internet exposure (Orthanc Book security FAQ) |
| Remote access | Local access only, the default, for a server used from the same machine | Viewers and modalities on other hosts cannot reach the REST API until you change this | By default Orthanc only accepts HTTP from localhost (Orthanc Book security FAQ) |
| Remote access | RemoteAccessAllowed with AuthenticationEnabled and users defined in RegisteredUsers | Simple to set up, but passwords live in the config file and access rules are coarse | Keep the users list under config control and restrict the network path as well |
| Viewer plugin | Orthanc Explorer 2 for a modern browser interface on the same host or through a proxy | Adds a web UI that must be placed behind the same authentication and TLS as the API | Confirm the plugin package version matches the installed core |
| Authorization | Advanced authorization plugin when users must be limited per study, role or service | Each REST request goes to an external web service, so that service becomes part of the availability path | The plugin returns HTTP 403 when denied; the orthanc-auth-service reference uses Keycloak tokens (Orthanc Book authorization plugin page) |
| Risky routes | Keep /tools/execute-script and the export route disabled on any shared server | Disabling them removes some automation, so scripting may need to move to Lua or Python plugins | Both routes can run system commands or overwrite files (Orthanc Book security FAQ) |
Install, configure and verify Orthanc from packages
This sequence takes a Debian or Ubuntu host from a supported release to a running Orthanc service with HTTPS dependencies, matching plugins and logs you can read. Each step closes with a check so the team can confirm the state before moving on.
Confirm release and Orthanc version
The platform engineer confirms the Debian or Ubuntu release the server runs, then checks the Orthanc download page for the packages published for that release. Record the core version you intend to install, for example the current 1.13.0 release or a 1.12.x maintenance release, and confirm the exact package names and repository entries for your release on that page before adding anything to the host. Done when the target version and package names are written into the change record and match what the download page lists for your distribution.
Install the core package from the repository
Add the Orthanc repository entry listed for your release, refresh the package index, and install the core package with the system package manager. The engineer should avoid mixing packages from unofficial mirrors, because plugin and core versions must match later. Done when the package manager reports the core installed and the command to print the Orthanc version returns the version you recorded in the first step.
Install libssl-dev before enabling HTTPS
If the server will use Orthanc's built-in HTTPS, install the libssl-dev package before you change the HTTPS settings. With the official Debian-family package, Orthanc fails to start when this dependency is missing, so the failure appears at restart rather than at install time. Skip this step only if TLS will be terminated by a reverse proxy in front of Orthanc. Done when the package is installed and the service starts cleanly after the HTTPS settings are enabled in the next step.
Set the configuration file
Edit the Orthanc configuration file on the host, setting the storage path, the HTTP port, the HTTPS options if used, and the authentication settings. Keep remote access disabled until authentication is enabled and users are defined, because the default configuration only accepts HTTP connections from localhost. Store the administrator password outside the file where your process allows it. Done when the file parses without errors, which the next restart will confirm, and the settings match the values in your design record.
Install plugins at the core version
Install only the plugins you need, such as a database back end, the object storage plugin, DICOMweb or a viewer, and install each one from the same repository and release as the core. A plugin built for a different core version can fail to load or behave unpredictably. Also disable the script execution and export routes unless you have a documented need, as the security FAQ warns about both. Done when each plugin package reports the same version as the core and the configuration lists only the plugins you intend to load.
Restart the service and check status
Restart the Orthanc service with the service manager and confirm it is active. If it stops immediately, read the service status output and the log before changing anything else, since a missing dependency or a configuration syntax error is the usual cause. Then query the system endpoint of the REST API from localhost to confirm the server responds and reports the expected version. Done when the service stays active and the API returns the version you recorded.
Confirm startup in the logs
Open the log files in /var/log/orthanc/ and read the startup messages. Confirm that the configuration file was loaded, each intended plugin initialized without errors, the HTTP and DICOM ports are listening, and no warnings mention a missing library. Confirm the log location on your release as well, because log settings can be changed in the configuration. Done when the startup block shows the plugins you installed and no errors, and you have saved a copy of this clean log as the baseline for future upgrades.
How the package, plugins, HTTPS dependency and logs fit together
The diagram starts at the Debian or Ubuntu host, where the Orthanc core package and matching plugin packages install alongside the configuration file that the service reads at start. The libssl-dev package sits on the path to built-in HTTPS, because Orthanc fails to start without it when HTTPS is enabled on the official Debian-family package. Requests from the network cross a trust boundary before they reach the REST API, either directly or through an optional reverse proxy. Check that plugin versions match the core, and look in /var/log/orthanc/ when the service misbehaves.
Components on a Debian or Ubuntu host and the trust boundary in front of the REST API.
Keeping plugins at the same version as the core
Orthanc plugins are built against a specific core release, so a mismatch can stop the server from starting or change behavior in ways that are hard to trace. The cards below cover how to confirm versions on a Debian or Ubuntu host, how the recent release history shapes upgrade planning, and how to test before anything reaches production.
Why plugins must match the core
Each plugin is a shared library loaded by the Orthanc core at startup, and it depends on the core's internal interfaces. When the core moves to a new release, a plugin built for the older one may refuse to load or may misbehave on storage and index calls. On Debian and Ubuntu, the core and plugin packages should come from the same release line, installed and upgraded together. Treat a mixed set as a fault, not a warning.
Plugins referenceChecking installed versions
Before any change, record the core version and every installed plugin version on each host. Compare them with the package manager output and the Orthanc system information exposed by the REST API, which reports the loaded plugins. Keep this inventory with your configuration, so a later audit or rollback starts from known facts. Confirm exact package names with your distribution's packaging before scripting the check.
Planning around the release history
Recent releases came out in quick succession: 1.12.10 on 2025-11-26, 1.12.11 on 2026-04-14 and 1.13.0 on 2026-08-15. The 1.13.0 release rewrote storage-area access and DICOM parsing and transcoding, so plugins that touch those paths need the matching build. Plan a version window for each host and check whether your plugins have a matching release before scheduling the core upgrade.
Orthanc NEWS fileHandling a lagging plugin
Sometimes a core release ships before a plugin you depend on has caught up. Decide in advance whether you hold the core at its current version, run the plugin's matching release from a separate source, or remove the plugin for a short period. Each option changes which features are available and who must approve the risk. Write the decision and its review date into the change record so it does not become a permanent exception.
Testing upgrades before production
Build a staging host from the same Debian or Ubuntu release, copy the production configuration and a representative sample of studies, then upgrade the core and every plugin together. Check that the service starts, logs show no plugin load errors under /var/log/orthanc/, and key workflows work: storing, querying, retrieving and viewing. Keep the previous package versions available so rollback is a tested step, not a guess.
Questions teams ask before installing Orthanc on Linux
How much effort does a Debian or Ubuntu package install of Orthanc take?
The base install is usually the smaller part of the work. Effort rises with the choices around it: the database engine (the built-in SQLite index is suited to smaller archives, while the docs recommend a PostgreSQL plugin once an archive reaches several hundred thousand instances), object storage, plugin version matching, HTTPS and reverse proxy setup, authentication, DICOM network rules, backups and monitoring. Ask any partner or internal team to estimate each of these as a separate line item, and to state which of them are in scope.
Can our in-house team install Orthanc on Linux without a partner?
Often yes, provided the team has Linux service administration skills and someone who understands DICOM networking. The package install itself is standard. The harder parts are DICOM association settings with modalities and PACS, access control for the REST API (remote access is off by default, and enabling it should come with authentication and registered users), and keeping plugins at matching versions after each core upgrade. Assess these skills honestly before deciding, and if gaps remain, a fixed-scope engagement can cover only the parts you choose.
What does our side need to provide for a package install?
Plan for the following before work starts:
- One or more Linux servers or virtual machines in your infrastructure, with storage sized for your expected archive growth
- Network rules for the DICOM port used by modalities and peers, and the HTTP or HTTPS port used by viewers and the REST API
- A dedicated service account for the Orthanc process, with file permissions limited to its data and log directories
- Access to your identity provider, if you plan to use single sign-on through a plugin or proxy
- Named owners for backups, certificates and change approval
Confirm port numbers and firewall policy with your network team, since these differ between sites.
Should we install Orthanc from Debian or Ubuntu packages or run it in Docker?
Choose packages when your team manages Linux hosts with standard tooling, wants logs in the system location, and prefers to patch the operating system and Orthanc through the same process. Choose Docker when your platform team already runs containers, needs identical environments across sites, or wants configuration managed as code. Packages put configuration and logs in fixed host locations, which simplifies audits of file access. Containers simplify rebuilds but add volume management for storage and database files. Decide based on the operations model you already run, not on the install step alone.
What does an Orthanc install cost, and what are we paying for?
Orthanc has no paid edition. The core is licensed GPLv3 or later, and the scalability and cloud plugins, such as PostgreSQL and the web viewer plugins, are licensed AGPLv3 or later. Your cost therefore comes from infrastructure, staff time and any external services. Orthanc Team SRL sells deployment, configuration and development services, and it quotes these on request. It also sells pre-paid dedicated support hours that are valid for 12 months. Ask any provider for a written scope listing deliverables, hours or days by task, support terms, and what recurs after go-live, such as hosting, backups and upgrades.
How are Orthanc upgrades handled on a package install?
Upgrades change the core and the plugins, so their versions must match. Orthanc 1.13.0 was released on 2026-08-15, following 1.12.11 on 2026-04-14 and 1.12.10 on 2025-11-26, and the release notes describe significant internal changes to storage access and DICOM parsing. Before any upgrade, read the NEWS file for the target version, test against a copy of your database and storage, back up the index and files, and schedule the change with a rollback plan. Confirm with your vendor or partner who owns each step, and whether the upgrade is included in any support arrangement.
Do we need HTTPS and libssl-dev before Orthanc starts on Debian or Ubuntu?
Yes, if you plan to use Orthanc's built-in HTTPS with the official Debian-family package. Orthanc fails to start in that case unless the libssl-dev package is installed. Install it before enabling HTTPS in the configuration, and verify startup in a test environment first. If TLS will terminate at a reverse proxy instead, the built-in setting may not be needed, but the proxy then becomes part of your security boundary and needs its own certificate and access controls.
What DeployOpen does for a Linux Orthanc install
DeployOpen starts every Linux Orthanc install with a written scope agreed before any work begins. That scope names the host build (operating system release, disk layout, time sync, service account, firewall rules), the Orthanc core package version, every plugin that will be installed, and the database and storage back ends. Because Orthanc plugins must match the core version, the scope also records the exact package versions to pin and how they will be upgraded later. Your team should confirm which Debian or Ubuntu release is approved internally and whether your patch process can hold package versions where the scope requires it.
The build then covers the parts that most often break on a fresh host. For HTTPS, DeployOpen installs the libssl-dev dependency that the built-in HTTPS setup requires on the Debian-family package, sets the certificate and key paths in the configuration, and places a reverse proxy in front of the REST API and viewers if the scope calls for one. Authentication is configured with RemoteAccessAllowed and AuthenticationEnabled set deliberately and with users defined in RegisteredUsers, and the scripts route and export route are confirmed as disabled. All of this runs on your servers and inside your network, with credentials held in your own secret store.
Handover is a documented set of artifacts your team keeps: the configuration files, the pinned package list, the log locations under /var/log/orthanc/, the restart and upgrade runbook, and a test record showing that uploads, queries and HTTPS access work as scoped. Ask for the handover format, the named owner of each artifact and whether a retest is included before sign-off. Quotes follow from this written scope, so the more precisely your environment is described up front, the more accurately the work can be priced and sequenced.
How DeployOpen scopes and supports Orthanc on Debian and Ubuntu
DeployOpen plans, installs and hardens Orthanc from Debian or Ubuntu packages inside your own servers or cloud accounts. Each engagement starts with a written scope that decides the package path, the plugin set, the HTTPS approach and the handover material your operations team needs.
How we scope
- Confirm the Debian or Ubuntu release, the Orthanc version and whether packages or Docker suit your patch process.
- List required plugins, such as PostgreSQL, S3 or DICOMweb, and check that each plugin version matches the core.
- Agree in writing how HTTPS, remote access and the reverse proxy will be handled, and which features stay disabled.
How we build
- Install the packages, set up the service account, and place configuration and log paths according to your standards.
- Install the libssl-dev dependency where built-in HTTPS is used, then confirm Orthanc starts cleanly with the chosen settings.
- Test authentication, DICOM connections, upload and retrieve, and plugin loading against the agreed test cases.
How we hand over
- Deliver a written runbook covering install steps, configuration files, log locations under /var/log/orthanc/ and rollback steps.
- Document the plugin and core version pairs, the package pinning approach and the procedure for matching updates.
- Walk your administrators through restarts, log review, backup checks and the upgrade steps you will run yourselves.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and version-matching checks are available as a retainer, scoped separately from the build.
- Ask for a quote based on the written scope, which covers who performs each task and what your team retains.

