Script to install and update orthanc on ubuntu

sudo apt install orthanc orthanc-dicomweb orthanc-gdcm orthanc-imagej orthanc-mysql orthanc-postgresql orthanc-python orthanc-webviewer orthanc-wsi

sudo service orthanc stop

sudo wget https://lsb.orthanc-server.com/orthanc/mainline/Orthanc --output-document /usr/sbin/Orthanc

sudo rm -f /usr/share/orthanc/plugins/*.so

cd /usr/share/orthanc/plugins/

sudo wget https://lsb.orthanc-server.com/orthanc/mainline/libServeFolders.so https://lsb.orthanc-server.com/orthanc/mainline/libModalityWorklists.so https://lsb.orthanc-server.com/plugin-dicom-web/mainline/libOrthancDicomWeb.so https://lsb.orthanc-server.com/plugin-authorization/mainline/libOrthancAuthorization.so https://lsb.orthanc-server.com/plugin-gdcm/mainline-gdcm3/libOrthancGdcm.so https://lsb.orthanc-server.com/plugin-indexer/mainline/libOrthancIndexer.so https://lsb.orthanc-server.com/plugin-mysql/mainline/libOrthancMySQLIndex.so https://lsb.orthanc-server.com/plugin-mysql/mainline/libOrthancMySQLStorage.so https://lsb.orthanc-server.com/plugin-neuro/mainline/libOrthancNeuro.so https://lsb.orthanc-server.com/plugin-odbc/mainline/libOrthancOdbcIndex.so https://lsb.orthanc-server.com/plugin-odbc/mainline/libOrthancOdbcStorage.so https://lsb.orthanc-server.com/plugin-orthanc-explorer-2/mainline/libOrthancExplorer2.so https://lsb.orthanc-server.com/plugin-postgresql/mainline/libOrthancPostgreSQLIndex.so https://lsb.orthanc-server.com/plugin-postgresql/mainline/libOrthancPostgreSQLStorage.so https://lsb.orthanc-server.com/plugin-python/debian-bullseye-python-3.9/mainline/libOrthancPython.so https://lsb.orthanc-server.com/plugin-tcia/mainline/libOrthancTcia.so https://lsb.orthanc-server.com/plugin-transfers/mainline/libOrthancTransfers.so https://lsb.orthanc-server.com/plugin-volview/mainline/libOrthancVolView.so https://lsb.orthanc-server.com/plugin-webviewer/mainline/libOrthancWebViewer.so https://lsb.orthanc-server.com/stone-rt-sample/mainline/libRtViewerPlugin.so https://lsb.orthanc-server.com/stone-webviewer/mainline/libStoneWebViewer.so https://lsb.orthanc-server.com/whole-slide-imaging/mainline/libOrthancWSI.so

sudo service orthanc restart