Package Details: knime-desktop 5.9.0-1

Git Clone URL: https://aur.archlinux.org/knime-desktop.git (read-only, click to copy)
Package Base: knime-desktop
Description: A user-friendly graphical workbench for the entire data analysis process
Upstream URL: http://www.knime.org/
Keywords: knime
Licenses: custom
Conflicts: knime
Provides: knime
Submitter: StreakyCobra
Maintainer: Dominiquini
Last Packager: Dominiquini
Votes: 13
Popularity: 0.25
First Submitted: 2013-07-04 22:40 (UTC)
Last Updated: 2026-01-12 00:22 (UTC)

Dependencies (11)

Required by (0)

Sources (1)

Pinned Comments

Dogwen commented on 2025-02-23 09:12 (UTC) (edited on 2025-02-23 09:14 (UTC) by Dogwen)

To be honest, as a China Mainland maintainer ,I can't get the files so,i can't update sha256sum and i only spend time updating on weekend,sorry

Dogwen commented on 2025-02-23 08:05 (UTC)

When marking as expired, please attach the link to the new version. Thank you.

Baytars commented on 2022-03-24 05:45 (UTC)

KNIME has no write permission in /usr/share/java/knime-desktop/ and is not able to install any plugins.

Latest Comments

1 2 3 Next › Last »

metolius commented on 2025-12-27 23:34 (UTC) (edited on 2025-12-27 23:35 (UTC) by metolius)

Just switched to Arch from Fedora less than 24 hours ago and ran into issues with the outdated version of KNIME for a project I have been working on. I decided to try and fix the PKGBUILD myself—it was harder than I expected, but eventually I got it working.

Below is my updated PKGBUILD for version 5.9.0. I also adjusted the permissions so the user group has write access, which should help with installing extensions. If you still have permission issues with extensions, running sudo chown -R $USER:$USER /opt/knime-desktop would make extra sure. I also changed the installation path from usr/share/java to opt/knime, thinking that is more fitting as a destination for such a monolithic piece of software. Hope this will be helpful. Perhaps we could open another repo for the LTS version too btw (knime-desktop-lts or simply knime-lts)?


# Co-Maintainer: redponike <proton (dot) me>
# Co-Maintainer: Dogwen <lyw182 at outlook dot com>
# Contributor: Mete Tikici <metetikici at protonmail dot com>
# Contributor: Lukas Zimmermann <luk.zim91 at gmail dot com>
# Contributor: Benjamin Wilhelm <aur@hedgehogcode.de>
# Package creator: Fabien Dubosson <fabien.dubosson@gmail.com>

pkgname=knime-desktop
_upstream_name="knime"
pkgver=5.9.0
pkgrel=1
pkgdesc="A user-friendly graphical workbench for the entire data analysis process"
url="http://www.knime.org/"
license=('custom')
arch=('x86_64')
conflicts=('knime')
provides=('knime')

depends=('java-runtime>=21' 'python' 'gtk3' 'libxtst')
makedepends=('binutils' 'fakeroot' 'imagemagick')

optdepends=('bash: Required for bash-scriptable nodes'
            'r: Required for R-scriptable nodes'
            'webkit2gtk-4.1: Required for displaying HTML content'
            'firefox: External browser support')
options=('!emptydirs')

source=("https://download.knime.org/analytics-platform/linux/${_upstream_name}_${pkgver}.linux.gtk.${arch}.tar.gz")
sha256sums=('2d46c2a0934a08bd5a84a41d7f1939e7831d269cd3912979875e31a2e30f4092')

prepare() {
    # Updated wrapper script for Wayland compatibility and file path migration.
    cat > knime.sh <<EOF
#!/bin/bash
KNIME_HOME="/opt/knime-desktop"
export ECLIPSE_HOME="\$KNIME_HOME"

# Wayland fix here
if [ -z "\$GDK_BACKEND" ]; then
    if [ "\$XDG_SESSION_TYPE" == "wayland" ]; then
        export GDK_BACKEND=x11
    fi
fi

#For the file path 
USER_CONF_DIR="\$HOME/.config/knime-desktop"
mkdir -p "\$USER_CONF_DIR"

exec "\$KNIME_HOME/knime" \
  -configuration "\$USER_CONF_DIR/configuration" \
  -data "\$HOME/knime-workspace" \
  "\$@"
EOF

    # Generate the Desktop Entry
    cat > knime-desktop.desktop <<EOF
[Desktop Entry]
Type=Application
Name=KNIME Analytics Platform
Comment=A user-friendly graphical workbench for the entire data analysis process.
Exec=/usr/bin/knime-desktop %F
Icon=knime-desktop
Terminal=false
Categories=Development;Education;Science;DataVisualization;
MimeType=application/x-knime-workflow;
EOF
}

package() {

    # Changed the installation directory to suit the norms better 
    local installpath="/opt"
    local programpath="${installpath}/${pkgname}"
    local bin="${pkgdir}/usr/bin"
    local share="${pkgdir}/usr/share"

    local _source_dir="${srcdir}/${_upstream_name}_${pkgver}"

    install -d -m755 "${pkgdir}/${installpath}"
    mkdir -p "${pkgdir}/${programpath}"
    cp -r "${_source_dir}/." "${pkgdir}/${programpath}"

    install -D -m755 "knime.sh" "${bin}/${pkgname}"
    install -d -m755 "${share}/pixmaps"

    # convert is deprecated apparently
    magick "${_source_dir}/icon.xpm" "${share}/pixmaps/${pkgname}.png"

    install -D -m644 "knime-desktop.desktop" "${share}/applications/${pkgname}.desktop"
    install -d -m755 "${share}/licenses/${pkgname}"
    install -m644 "${_source_dir}/LICENSE"* "${share}/licenses/${pkgname}/"

    # Ownership shall fix permission issues with extension installation
    chown -R root:users "${pkgdir}/${programpath}"
    chmod -R g+w "${pkgdir}/${programpath}"
}


Shim commented on 2025-06-11 17:06 (UTC)

Hi, after installing extension a couple of months ago KNIME stopped working for me (something similar to saras_ram issue). I hoped that update would help but now I am getting an error message. When I try to open KNIME from menu I get "An error has occured. See the log file null" (I don't know what and where the log file null is, all knime related log files are related to the previous installation). When I try starting KNIME from the command line (as a user) I get the following output:

knime-desktop 
java.lang.IllegalStateException: Error initializing storage for Equinox container.
        at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:110)
        at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:53)
        at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:46)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:342)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:267)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Caused by: java.io.FileNotFoundException: /usr/share/java/knime-desktop/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
        at java.base/java.io.RandomAccessFile.open0(Native Method)
        at java.base/java.io.RandomAccessFile.open(Unknown Source)
        at java.base/java.io.RandomAccessFile.<init>(Unknown Source)
        at java.base/java.io.RandomAccessFile.<init>(Unknown Source)
        at org.eclipse.osgi.internal.location.Locker_JavaNio.lock(Locker_JavaNio.java:40)
        at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:403)
        at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:715)
        at org.eclipse.osgi.storage.Storage.getChildStorageManager(Storage.java:2290)
        at org.eclipse.osgi.storage.Storage.getInfoInputStream(Storage.java:2308)
        at org.eclipse.osgi.storage.Storage.<init>(Storage.java:267)
        at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:186)
        at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:108)
        ... 12 more

I am able to start KNIME from command line with sudo. Please help to resolve the issue.

Dogwen commented on 2025-05-11 14:45 (UTC)

i am not sure that i solve the problem,but i do it.

saras_ram commented on 2025-05-10 12:12 (UTC)

Solved the issue now. Thanks

saras_ram commented on 2025-05-09 20:47 (UTC) (edited on 2025-05-09 21:06 (UTC) by saras_ram)

Hi, I am trying to install an extension and got this error-

'Permission problem: Your KNIME installation directory seems to be read-only, maybe because KNIME was installed by a different user, eg., the system administrator. Intalling extensions or updating KNIME without write permissions may cause problems. Do you really want to continue?'

After ignoring the above and continuing the process, the following was thrown at me:

"An error occurred while configuring the installed items session context was:(profile=KNIMEProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> [R]com.knime.licenses 6.6.1.v202412171059, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.MkdirAction). Could not create directory /usr/share/java/knime-desktop/licenses."

I changed the permissions of the directory where I installed Knime using chmod <permission> <directory>, yet the error remains.

Should I change the 'owner' of the directory as well using 'chown' or is something else causing the problem? Because, when I checked the '.tar.st' directory (zipped), the owner of the files showed a different name than mine, I'm imagining it may be one of the maintainers. please correct me if i'm wrong

I use KNIME 5.4.3 and Arch Linux 6.13.8-arch1-1. And my linux proficiency is just over the beginner level.

Please can someone help me?!

Thanks in advance

Dogwen commented on 2025-02-23 09:33 (UTC)

at last upstreaming, i can get the file, but now ,i cant(i dont know why

redponike commented on 2025-02-23 09:28 (UTC)

I understand. Yes, you can add me as a co-maintainer.

Dogwen commented on 2025-02-23 09:15 (UTC)

if you need, i can set a comaintainer

Dogwen commented on 2025-02-23 09:12 (UTC) (edited on 2025-02-23 09:14 (UTC) by Dogwen)

To be honest, as a China Mainland maintainer ,I can't get the files so,i can't update sha256sum and i only spend time updating on weekend,sorry

redponike commented on 2025-02-23 08:56 (UTC) (edited on 2025-02-23 08:56 (UTC) by redponike)

Please use the correct SHA256SUM, no reason to skip it. Also, please bump the package release accordingly if you do multiple commits. Follow the package guidelines docs