Installing CKAN on Ubuntu - KSP-CKAN/CKAN GitHub Wiki
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
Set up Mono package repositories
Mono 5 is required. Ubuntu 16.04 and 18.04 only have Mono 4 in their repositories, so you will need to add the official Mono repositories. Click the following link and follow the instructions in step 1 for your Ubuntu version or the previous LTS version:
Install Mono
sudo apt install mono-complete ca-certificates-mono
Or if you prefer not to install mono-complete
:
sudo apt install ca-certificates-mono libmono-accessibility4.0-cil libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-cairo4.0-cil libmono-corlib4.5-cil libmono-data-tds4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-ldap4.0-cil libmono-microsoft-csharp4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-sqlite4.0-cil libmono-system-componentmodel-dataannotations4.0-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-data4.0-cil libmono-system-design4.0-cil libmono-system-drawing4.0-cil libmono-system-enterpriseservices4.0-cil libmono-system-ldap4.0-cil libmono-system-net-http-webrequest4.0-cil libmono-system-net-http4.0-cil libmono-system-numerics4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-runtime-serialization4.0-cil libmono-system-security4.0-cil libmono-system-servicemodel-internals0.0-cil libmono-system-transactions4.0-cil libmono-system-web-applicationservices4.0-cil libmono-system-web-services4.0-cil libmono-system-web4.0-cil libmono-system-windows-forms4.0-cil libmono-system-xml-linq4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libmono-webbrowser4.0-cil libmono-zeroconf1.0-cil mono-4.0-gac mono-gac mono-runtime mono-runtime-common mono-runtime-sgen
Import certificates
See SSL certificate errors if you encounter errors related to certificates or authentication or decryption.
Install 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
If that doesn't work, try:
/usr/local/bin/mono ckan.exe
On some systems CKAN might present an error/warning about not being able to set x locale modifiers. This can be fixed by running:
LC_ALL=en_US.UTF-8 /usr/local/bin/mono ckan.exe