0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ubuntu 24.04 LTSにDataiku 13.3.2を無理やりインストールする

Last updated at Posted at 2025-11-28

DataikuのSystem RequirementsではUbuntuは20.04 LTSまたは22.04LTSとなっていますが、工夫することで24.04 LTSにインストールすることができたのでメモ。
ただしベンダとしては対応を明言していないため、自己責任でお願いします。

ポイント

  • 依存関係チェックはUbuntuのバージョン確認で引っかかるので使えない
  • Python 3.10を別途インストールしておく

NG例

普通にインストーラを動かすと、依存関係チェックでUbuntuのバージョンを確認してしまうので次のようにエラーになります。

$ ./installer.sh -d /opt/dataiku/data -p 11000
*********************************************
*           Dataiku DSS installer           *
*********************************************
[+] Using data directory: /opt/dataiku/data
[+] Saving installation log to /opt/dataiku/data/run/install.log
[*] Could not find suitable version of Java
[+] Checking required dependencies
+ Detected OS distribution : ubuntu 24.04
*** OS distribution not supported *** ubuntu 24.04

[-] Dependency check failed
[-] You can install required dependencies with:
[-]    sudo -i "/home/yaizawa/src/dataiku/dataiku-dss-13.3.2/scripts/install/install-deps.sh"
[-] You can also disable this check with the -n installer flag

で、この段階で半分答えが書いてありますが、インストーラに「-n」フラグをつけてあげれば依存関係チェックをスキップできるのでチェックを回避できます。
ただしこの場合、前提条件のパッケージなどをチェックしてくれないので事前にaptで入れておく必要があります。

パッケージの事前導入

Ubuntu標準のパッケージ

チェックスクリプトを読んでみたところ、Ubuntu 22.04 LTS向けには次のパッケージをチェックしていました (Docker関係を除く)。

  • 基本
    • acl
    • curl
    • git
    • libexpat1
    • nginx
    • unzip
    • zip
  • JDK
    • openjdk-17-jre-headless
  • Python
    • python3.10
    • python3-distutils
  • R
    • r-base-dev
    • libicu-dev
    • libcurl4-openssl-dev
    • libssl-dev
    • libxml2-dev
  • Chrome
    • npm
    • libgtk-3-0
    • libnss3
    • libxss1
    • libasound2
    • libxtst6
    • libx11-xcb1
    • libgbm1

この中で、太字のパッケージが24.04 LTSでは見つかりません。

  • Pythonは24.04 LTSでは3.12に変更されており、distutilsは廃止されている
  • libasound2はlibasound2t64に変更されている

このため、次のようにapt installを流しておきます。

# apt install acl curl git libexpat1 nginx unzip zip openjdk-17-jre-headless python3.12 r-base-dev libicu-dev libcurl4-openssl-dev libssl-dev libxml2-dev npm libgtk-3-0 libnss3 libxss1 libasound2t64 libxtst6 libx11-xcb1 libgbm1

Python 3.10

問題はPython 3.10です。DataikuはPython 3.10に依存しているため、なんとかして3.10を入れてあげる必要があります。
一番お手軽と思われるのが、DeadsnakesのPython PPAを使うことかと思います。

# add-apt-repository ppa:deadsnakes/ppa
# apt update
# apt install python3.10 python3.10-distutils

なおDataikuで他のバージョンのPythonも使いたい場合は、同様にインストールしておくと良いでしょう。

Dataikuのインストール

ここまで準備できたらインストーラを回します。
ただし、「-n」オプションで依存関係チェックを回避するのと、Python 3.10のバイナリパスを指定してあげる必要があります。

(ここではサービスユーザdataikuのUIDを2001で決め打ちし、ホームディレクトリを/opt/dataikuに指定)

# useradd -m -d /opt/dataiku -u 2001 dataiku
# su dataiku
$ ./installer.sh -d /opt/dataiku/data -p 11000 -n -P /usr/bin/python3.10
*********************************************
*           Dataiku DSS installer           *
*********************************************
[+] Creating data directory: /opt/dataiku/data
[+] Saving installation log to /opt/dataiku/data/run/install.log
[+] Using Java at /usr/bin/java : openjdk version "17.0.17" 2025-10-21
[+] Installation starting
[+] Initializing Python environment
[+] Initializing Python environment using '/usr/bin/python3.10'
+ Using specified base Python binary: /usr/bin/python3.10
created virtual environment CPython3.10.19.final.0-64 in 486ms
  creator CPython3Posix(dest=/opt/dataiku/data/pyenv, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/opt/dataiku/.local/share/virtualenv)
    added seed packages: pip==24.2, setuptools==74.1.2, wheel==0.44.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
[-] Read-only installation directory /home/yaizawa/src/dataiku/dataiku-dss-13.3.2, skipping Python precompilation
[+] Performing initial install
[+] Writing version metadata conf=13310 product=13.3.2 revision=
[+] Writing default install config file
[+] Writing default env file
[+] Preparing data directory initial data
Loading plugins:
[2025/11/27-14:36:26.987] [main] [INFO] [dku.modules]  - Opening all java modules in unnamed module @527740a2
[2025/11/27-14:36:26.988] [main] [INFO] [dku.modules]  - Opening java modules
[2025/11/27-14:36:27.035] [main] [INFO] [dku.logging]  - Loading logging settings
[2025/11/27-14:36:27.040] [main] [INFO] [dku.logging]  - Configuring additional logging settings from /home/yaizawa/src/dataiku/dataiku-dss-13.3.2/resources/
logging/dku-log4j.properties
[2025/11/27-14:36:27.062] [main] [INFO] [dku.logging]  - Configuring additional JUL logging settings from /home/yaizawa/src/dataiku/dataiku-dss-13.3.2/resour
ces/logging/dku-log-jul.properties
Installed kernelspec python3 in /opt/dataiku/data/jupyter-run/jupyter/kernels/python3
Installing /home/yaizawa/src/dataiku/dataiku-dss-13.3.2/python310.packages/widgetsnbextension/static -> jupyter-js-widgets
Making directory: /opt/dataiku/data/jupyter-run/jupyter/nbextensions/jupyter-js-widgets/
Copying: /home/yaizawa/src/dataiku/dataiku-dss-13.3.2/python310.packages/widgetsnbextension/static/extension.js -> /opt/dataiku/data/jupyter-run/jupyter/nbextensions/jupyter-js-widgets/extension.js
Copying: /home/yaizawa/src/dataiku/dataiku-dss-13.3.2/python310.packages/widgetsnbextension/static/extension.js.map -> /opt/dataiku/data/jupyter-run/jupyter/nbextensions/jupyter-js-widgets/extension.js.map
- Validating: 

    To initialize this nbextension in the browser every time the notebook (or other app) loads:

          jupyter nbextension enable widgetsnbextension --user --py

Extension collapsible_headings/main enabled successfully
Extension codefolding/main enabled successfully
Extension toggle_all_line_numbers/main enabled successfully
Extension hide_input_all/main enabled successfully
Extension addbefore/main enabled successfully
Extension jupyter-js-widgets/extension enabled successfully
[+] Generating default env file
[+] Generating supervisor configuration
[+] Generating nginx configuration
***************************************************************
* Installation complete (DSS node type: design)
* Next, start DSS using:
*         '/opt/dataiku/data/bin/dss start'
* Dataiku DSS will be accessible on http://<SERVER ADDRESS>:11000
*
* You can configure Dataiku DSS to start automatically at server boot with:
*    sudo -i "/home/yaizawa/src/dataiku/dataiku-dss-13.3.2/scripts/install/install-boot.sh" "/opt/dataiku/data" dataiku
***************************************************************

Rの統合インストール

こちらも依存関係チェックが入っているので外して実行する必要あり (見落としてた…)。

$ /opt/dataiku/data/bin/dssadmin install-R-integration -noDeps

蛇足

公式のインストール手順だと13.3.2でやっているのでフリー版はこれが最新なのかなー…と思いきや、 https://cdn.downloads.dataiku.com/public/dss/ を見たら新しいパッケージが普通にあるじゃん…ということでアップデートかけなきゃ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?