Please refer to documentation on the darktable website

https://www.darktable.org/install
