CKAN 2.10 (aka master @1 Dec 2022) install on Ubuntu 22.04
Jari Voutilainen edited this page Jan 3, 2023
·
7 revisions
These are just some quick notes on getting CKAN 2.10 up and running on Ubuntu 22.04
Ubuntu 22.04 comes with Python 3.10 installed. Python 3.10 seems to be causing problems when installing CKAN (Beaker, distutils module) so the quickest solution is to install Python 3.9 which seems to work OK
- sudo apt-get install python3-dev postgresql libpq-dev python3-pip python3-venv git openjdk-8-jdk redis-server
- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
- sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
- sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
-
sudo apt update
-
sudo apt install software-properties-common
-
sudo add-apt-repository ppa:deadsnakes/ppa
-
sudo apt install python3.9
-
sudo apt-get install python3.9-dev
-
sudo apt-get install python3.9-venv
/usr/bin/python3.9 -m venv /usr/lib/ckan/default