Installing CKAN on Ubuntu

Ryan Waldron edited this page Mar 30, 2018 · 8 revisions

Install dependencies

Required dependencies for CKAN are mono and the development libraries of libcurl:

sudo apt update
sudo apt install mono-complete ca-certificates-mono libcurl4-openssl-dev

For Ubuntu/Mint 17/18 Users that don't want to install the many unnecessary packages dragged in by mono-complete as detailed above.

This uses the Mono 5 packages provided by

Install the required signing keys

sudo apt-key adv --keyserver --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

Install the package source list

echo "deb wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

Install the required mono packages

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.


Download the latest release of CKAN.


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
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.