Skip to content

Installing CKAN on Debian

HebaruSan edited this page May 24, 2021 · 2 revisions

Easy mode

You can install CKAN from our APT repository and let APT keep it up to date for you. This will handle dependencies automatically and add CKAN to your system menus. You can choose stable or nightly builds. (Full instructions not on wiki to stop somebody from infiltrating your system with a hostile APT key.)

Install dependencies

Setup Mono package repositories

CKAN requires Mono 5 or above. Debian 8 and 9 only have Mono 3 or 4 in their repositories, please follow Step 1 in the link below to add the official Mono repository to your system:

Install Mono

sudo apt update
sudo apt install mono-complete ca-certificates

# Additional dependencies for Debian Buster:
sudo apt install liblog4net1.2-cil libnewtonsoft-json5.0-cil

Import certificates

See SSL certificate errors if you encounter errors related to certificates.

Download

Download the latest release of CKAN.

Run CKAN

Download the .deb from the latest release of CKAN and double click it to install. This should add a CKAN icon to your system menus.

Or download the .exe and in console run:

mono ckan.exe

Or to run without including mono in the command, run this once to make ckan.exe executable:

chmod 755 ckan.exe

Then you can run it directly:

./ckan.exe

Meta key bug

An unresolved bug in Mono can cause a crash when pressing the meta (windows/super) key. This can be prevented by starting ckan with:

mono --verify-all <path/to/ckan.exe> [ckan options]

More information on using the client is also available.

Clone this wiki locally