Warning, /documentation/digikam-doc/getting_started/installation.rst is written in an unsupported language. File is not indexed.

0001 .. meta::
0002    :description: How to Install digiKam Photo Management Program
0003    :keywords: digiKam, documentation, user manual, photo management, open source, free, learn, easy, install, linux, windows, macos, requirements, configurations, update
0004 
0005 .. metadata-placeholder
0006 
0007    :authors: - digiKam Team
0008 
0009    :license: see Credits and License page for details (https://docs.digikam.org/en/credits_license.html)
0010 
0011 .. _application_install:
0012 
0013 Installation
0014 ============
0015 
0016 .. contents::
0017 
0018 Visit `the download page <https://www.digikam.org/download/>`_ of the digiKam Web site for up to date information on installing stable **digiKam**.
0019 
0020 You’ll find all previous digiKam versions in the `attic <https://download.kde.org/Attic/digikam/>`_.
0021 
0022 .. note::
0023 
0024     Bundles using the **-debug** in file-name includes `debug symbols <https://en.wikipedia.org/wiki/Debug_symbol>`_ to catch debugger traces when application stop to work. Files are more heavy but this will help developers to found the origin of dysfunctions. See the :ref:`Get Involved <get_involved>` section for details.
0025 
0026 Minimum System Requirements
0027 ---------------------------
0028 
0029 - **Operating System**: 64-bit Windows 10 or newer, Apple macOS 64-bit based on Intel or M1 architecture, 64-bit Linux. Details see below.
0030 
0031 - **CPU**: x86 Intel or AMD; at least one 2 GHz core for standard photo processing, 4 cores for large photo or panorama processing, 8 cores for deep-learning uses as with face detection and image quality sorting. Details see below.
0032 
0033 - **GPU**: OpenGL 2.0 that works correctly and is compatible. On Windows, you can also use a card with good, compatible DirectX 9 or 11 drivers.
0034 
0035 - **RAM**: At least 4 GB for standard photo processing, 8 GB for large photo or panorama processing, 16 GB for deep-learning uses as with face detection and image quality sorting. Details see below.
0036 
0037 .. note::
0038 
0039    If your computer is at the lower end of CPU and RAM requirements, you should use both :ref:`Small Thumbnails Resolution <thumbnails_resolution>` and :ref:`Loading Embedded Preview <preview_settings>` features to help reduce preview lag.
0040 
0041 - **Monitors**: If the application can be used without problem on a single screen, using multi-screens will improve the experience especially with the workflow to review items.
0042 
0043 .. figure:: images/multi_screens_linux_station.webp
0044     :alt:
0045     :align: center
0046 
0047     A Double-Screens Linux Station with **Main Window** on the Left and **Light Table** on the Right
0048 
0049 .. tip::
0050 
0051     If your screen provides HDPI support, check options :ref:`Use high DPI scaling from the screen factor <system_settings>` and :ref:`Application font <appearance_settings>`.
0052 
0053 - **Storage**: SSDs will be the best choice for robustness and speed to host database and collection.
0054 
0055 .. _linux_requirements:
0056 
0057 digiKam on Linux
0058 ----------------
0059 
0060 **digiKam** can be installed on non-KDE Desktops without any issues.
0061 
0062 **AppImage:** Minimum Ubuntu 18.04 has no such minimal requirements.
0063 
0064 `AppImage <https://en.wikipedia.org/wiki/AppImage>`_ is a bundle hosting all the necessary dependencies to run digiKam. Nothing is installed on your system.
0065 Turn on **executable** property of AppImage file and run it. That all...
0066 
0067 .. figure:: videos/appimage_startup.webp
0068     :width: 500px
0069     :alt:
0070     :align: center
0071 
0072     Screencast of AppImage Startup
0073 
0074 .. _windows_requirements:
0075 
0076 .. tip::
0077 
0078     The AppImage bundle includes also the :ref:`Showfoto stand Alone Image Editor <showfoto_editor>`. To run it instead digiKam, just add **showfoto** as argument to the AppImage command line, like this:
0079 
0080     .. code-block:: bash
0081 
0082         ./digiKam-X.Y.Z-x86-64.appimage showfoto
0083 
0084 .. note::
0085 
0086     The AppImage provides more options to start which can be listed with **help** argument from command line.
0087 
0088 digiKam on Windows
0089 -------------------
0090 
0091 Using on Standard Desktop
0092 ~~~~~~~~~~~~~~~~~~~~~~~~~
0093 
0094 **digiKam** runs only on 64bit version of Windows 10 and newer. We cannot guarantee that digiKam runs on server or embedded Windows version.
0095 
0096 digiKam is available as an non-signed **installable** (Setup Program) and as a **standalone** (Archive) version.
0097 
0098     - **Installable** version: **Needs** administrator rights and gets installed on your local machine. It's also listed as a program.
0099 
0100         - It's available for all users on your computer.
0101 
0102         - The digiKam files are always located in the same folder.
0103 
0104         When the file is downloaded, to start the installer, a security warning will appears, because it does not come from the Windows Store.
0105 
0106         .. figure:: images/windows_setup_protection.webp
0107             :width: 400px
0108             :alt:
0109             :align: center
0110 
0111             The Windows Warning When you Try to Run digiKam Installer after Downloading
0112 
0113         You needs to give the rights to run from the **Windows Config Panel/Applications and Features** to setup applications source outside the store.
0114 
0115         .. figure:: images/windows_setup_security.webp
0116             :width: 400px
0117             :alt:
0118             :align: center
0119 
0120             The Windows Applications and Features Panel to Authorize digiKam Installation
0121 
0122         When you start a second time the installer, an information dialog will appears, because the it's not signed for the Microsoft Windows Defender.
0123 
0124         .. figure:: images/windows_setup_information.webp
0125             :width: 400px
0126             :alt:
0127             :align: center
0128 
0129             The Windows Information When you Run digiKam Installer
0130 
0131         When installer is running, follow instructions from the assistant to install application on your computer.
0132 
0133         .. note::
0134 
0135             If a previous digiKam version is present on your system, the Windows installer will warns you to uninstall it before to process to the new installation.
0136 
0137         .. figure:: images/windows_setup_prepare.webp
0138             :width: 300px
0139             :alt:
0140             :align: center
0141 
0142             The Windows Warning When you Try to Install digiKam When a Previous Version is Present
0143 
0144         .. figure:: images/windows_setup_uninstall.webp
0145             :width: 300px
0146             :alt:
0147             :align: center
0148 
0149             The Windows Dialog to Uninstall Previous Version of digiKam
0150 
0151         .. figure:: images/windows_setup_installer.webp
0152             :width: 300px
0153             :alt:
0154             :align: center
0155 
0156             The Windows Dialog to Install Newer Version of digiKam
0157 
0158     - **Standalone** version: **Doesn't** need administrator rights and isn't installed. It's **not** listed as a program. Is only accessible for the user who has downloaded the file.
0159 
0160         - If you work with a normal user on your computer, you can use digiKam.
0161 
0162         - You can copy the digiKam folder on any external drive and run it on a different computer without installing it. However, your personal settings and downloads within digiKam are related to the computer you work on.   
0163 
0164 Using in a Windows Domain
0165 ~~~~~~~~~~~~~~~~~~~~~~~~~
0166 
0167 If you want to use digiKam with domain users with using Windows Active Directory and/or Group Policies (`GPOs <https://learn.microsoft.com/en-us/previous-versions/windows/desktop/policy/group-policy-objects>`_) make sure all users have read/write rights to the following folders:
0168 
0169 .. epigraph::
0170 
0171    %AppData%\\digikam
0172 
0173    %LocalAppData%\\digikam
0174 
0175    %LocalAppData%\\digikamrc
0176 
0177    %LocalAppData%\\digikam_systemrc
0178 
0179    %LocalAppData%\\kxmlgui5\\digikam\digikamui.rc
0180 
0181 Similar requirements is also necessary for the :ref:`Showfoto stand Alone Image Editor <showfoto_editor>`:
0182 
0183 .. epigraph::
0184 
0185    %AppData%\\showfoto
0186 
0187    %LocalAppData%\\showfoto
0188 
0189    %LocalAppData%\\showfotorc
0190 
0191    %LocalAppData%\\showfoto_systemrc
0192 
0193    %LocalAppData%\\kxmlgui5\\digikam\showfotoui.rc
0194 
0195 Do also make sure no GPO is blocking the access to these folders.
0196 
0197 .. _macos_requirements:
0198 
0199 digiKam on macOS
0200 -----------------
0201 
0202 The non Signed Package
0203 ~~~~~~~~~~~~~~~~~~~~~~
0204 
0205 **digiKam** runs with Intel based Mac's on macOS 64-bit. For M1 based Mac's, you needs to use `Apple Rosetta 2 <https://support.apple.com/en-us/HT211861>`_ instructions translator. Minimum system requirement depends of the digiKam version to install:
0206 
0207     =============== ===========================================================================================
0208     digiKam version Supported macOS Release
0209     =============== ===========================================================================================
0210     >= 7.10.0        macOS 10.15 (`Catalina <https://en.wikipedia.org/wiki/MacOS_Catalina>`_) or newer
0211     >= 7.0.0         macOS 10.13 (`High Sierra <https://en.wikipedia.org/wiki/MacOS_High_Sierra>`_) or newer
0212     >= 6.4.0         macOS 10.12 (`Sierra <https://en.wikipedia.org/wiki/MacOS_Sierra>`_) or newer
0213     >= 6.1.0         macOS 10.11 (`El Capitan <https://en.wikipedia.org/wiki/OS_X_El_Capitan>`_) or newer
0214     >= 6.0.0         macOS 10.8 (`Mountain Lion <https://en.wikipedia.org/wiki/OS_X_Mountain_Lion>`_) or newer
0215     =============== ===========================================================================================
0216     
0217 .. note::
0218 
0219     Due to use `Macports environment <https://www.macports.org/>`_ to build digiKam PKG, and the rolling release Macports policy applied on time, it's difficult to provide a binary compatibility with older versions of macOS. Also Macports packages are frequently updated for security reasons, and this can require more recent macOS SDK.
0220 
0221 When the **PKG** file is downloaded, to start the installer, a security warning will appears, because the package is not signed for the Apple Gatekeeper.
0222 
0223 .. figure:: images/macos_pkg_warning.webp
0224     :width: 400px
0225     :alt:
0226     :align: center
0227 
0228     The macOS Warning When you Try to Run digiKam PKG after Downloading
0229 
0230 You needs to give the rights to run from the **macOS Config Panel/Security and Confidentiality** to confirm to Gatekeeper that all is safe here.
0231 
0232 .. figure:: images/macos_pkg_security.webp
0233     :width: 400px
0234     :alt:
0235     :align: center
0236 
0237     The macOS Security Panel to Authorize digiKam PKG Installation
0238 
0239 When installer is running, follow instructions from the assistant to install application on your computer.
0240 
0241 .. figure:: images/macos_pkg_installer.webp
0242     :width: 400px
0243     :alt:
0244     :align: center
0245 
0246     The digiKam macOS PKG is Started and Ready to Install
0247 
0248 Application Rights
0249 ~~~~~~~~~~~~~~~~~~
0250 
0251 When the installation is done, digiKam will need to access on system resources to run properly. This will be asked by the system when digiKam run, depending of actions performed by user.
0252 See below some examples of rights set in the macOS **Security and Privacy** policy configuration panel:
0253 
0254 - **Automation**: This right is set when you try to open an album in Apple Finder file manager through digiKam.
0255 
0256 .. figure:: images/macos_privacy_automation.webp
0257     :width: 400px
0258     :alt:
0259     :align: center
0260 
0261     The macOS Security and Privacy Panel with the Automation Rights
0262 
0263 - **Accessibility**: If you want to change the desktop wallpaper with digiKam, this right must be turned on.
0264 
0265 .. figure:: images/macos_privacy_accessibility.webp
0266     :width: 400px
0267     :alt:
0268     :align: center
0269 
0270     The macOS Security and Privacy Panel with the Accessibility Rights
0271 
0272 - **Files And Folders**: if you place your collections on your computer outside the Photos directory from your personal account, digiKam needs special right to access to contents.
0273 
0274 .. figure:: images/macos_privacy_filesfolders.webp
0275     :width: 400px
0276     :alt:
0277     :align: center
0278 
0279     The macOS Security and Privacy Panel with the Files and Folders Access Rights
0280 
0281 - **Full Disk**: This right is mandatory if you use gPhoto2 driver to access on system places to communicate with the device.
0282 
0283 .. figure:: images/macos_privacy_fulldisk.webp
0284     :width: 400px
0285     :alt:
0286     :align: center
0287 
0288     The macOS Security and Privacy Panel with the Full Disk Access Rights
0289 
0290 - **Photos**: if you want to share Apple Photos collection from your personal account, you will needs to turn on these rights.
0291 
0292 .. figure:: images/macos_privacy_photos.webp
0293     :width: 400px
0294     :alt:
0295     :align: center
0296 
0297     The macOS Security and Privacy Panel with the Photos Access Rights
0298 
0299 .. note::
0300 
0301     At first start, if you point your collection on the standard Apple Photo library, MacOS will ask you automatically to grant access on this content.
0302 
0303     .. figure:: images/macos_grant_access_photos.webp
0304         :width: 400px
0305         :alt:
0306         :align: center
0307 
0308         The macOS dialog to grant access to Apple Photo library
0309 
0310 .. _configuration_files:
0311 
0312 Configuration Files
0313 -------------------
0314 
0315 **digiKam**'s application-wide persistent settings are stored in the following locations, depending on your platform. 
0316 
0317 .. list-table::
0318    :header-rows: 1
0319 
0320    * - Linux
0321      - Windows
0322      - macOS
0323      - Description
0324    * - :file:`~/.config/digikamrc`
0325      - :file:`%LocalAppData%\\digikamrc`
0326      - :file:`~/Library/Preferences/digikamrc`
0327      - General settings of the application. Delete this and restart digiKam to reset the application to *factory* settings
0328    * - :file:`~/.config/digikam_systemrc`
0329      - :file:`%LocalAppData%\\digikam_systemrc`
0330      - :file:`~/Library/Preferences/digikam_systemrc`
0331      - System settings of the application. Delete this and restart digiKam to reset the application to *factory* settings
0332    * - :file:`~/.cache/digikam`
0333      - :file:`%LocalAppData%\\digikam`
0334      - :file:`~/Library/Caches/digikam`
0335      - cache location storing temporary files
0336    * - :file:`~/.local/share/digikam`
0337      - :file:`%AppData%\\digikam`
0338      - :file:`~/Library/Application Support/digikam`
0339      - contains downloaded: deep-learning models, internal configuration files
0340    * - :file:`~/.local/share/kxmlgui5/digikam/digikamui5.rc`
0341      - :file:`%LocalAppData%\\kxmlgui5\digikam\\digikamui5.rc` 
0342      - :file:`~/Library/Application Support/digikam/kxmlgui5/digikam/digikamui5.rc`
0343      - contains UI configuration, if your UI is broken, delete this file
0344 
0345 As digiKam, the :ref:`Showfoto stand Alone Image Editor <showfoto_editor>` has also persistent settings stored at similar places: 
0346 
0347 .. list-table::
0348    :header-rows: 1
0349 
0350    * - Linux
0351      - Windows
0352      - macOS
0353      - Description
0354    * - :file:`~/.config/showfotorc`
0355      - :file:`%LocalAppData%\\showfotorc`
0356      - :file:`~/Library/Preferences/showfotorc`
0357      - General settings of the application. Delete this and restart Showfoto to reset the application to *factory* settings
0358    * - :file:`~/.config/showfoto_systemrc`
0359      - :file:`%LocalAppData%\\showfoto_systemrc`
0360      - :file:`~/Library/Preferences/showfoto_systemrc`
0361      - System settings of the application. Delete this and restart Showfoto to reset the application to *factory* settings
0362    * - :file:`~/.cache/showfoto`
0363      - :file:`%LocalAppData%\\showfoto`
0364      - :file:`~/Library/Caches/showfoto`
0365      - cache location storing temporary files
0366    * - :file:`~/.local/share/showfoto`
0367      - :file:`%AppData%\\showfoto`
0368      - :file:`~/Library/Application Support/showfoto`
0369      - contains downloaded: deep-learning models, internal configuration files
0370    * - :file:`~/.local/share/kxmlgui5/showfoto/showfoto ui5.rc`
0371      - :file:`%LocalAppData%\\kxmlgui5\showfoto\\showfotoui5.rc` 
0372      - :file:`~/Library/Application Support/showfoto/kxmlgui5/showfoto/showfotoui5.rc`
0373      - contains UI configuration, if your UI is broken, delete this file
0374 
0375 .. note::
0376 
0377     The character '**~**' indicates the home directory of the current user from the system.
0378 
0379 Application Updates
0380 -------------------
0381 
0382 .. important::
0383 
0384     If you process a major version update, as for example from version 7 to version 8, we recommend to backup :ref:`your database files <database_intro>`, as generally internal schema can changes. Typically, digiKam is able to migrate tables from an older version to a new one, and all is done automatically at startup, but in all cases, it's always better to save these important digiKam files before to upgrade the application. Look also the :ref:`Database Backup <database_backup>` section from this manual for more recommendations.
0385 
0386 If you use a bundle as official Linux AppImage, macOS package, or Windows installer, the application can be updated using the :menuselection:`Help --> Check For New Version menu entry`. Look also the updates settings :ref:`in Behavior page <behavior_settings>` from the configuration dialog.
0387 
0388 .. figure:: images/updates_new_version.webp
0389     :alt:
0390     :align: center
0391 
0392     The Dialog to Update Application Using Online Weekly Builds