Local repository Off line install

Hi,
I want to install specific dependency like org.rdkit.knime.feature.feature.group/4.6.1.v202212070507 instead of org.rdkit.knime.feature.feature.group/4.6.1.v202212201943. Unfortunately, the previous one was removed from repositories. It’s an hard work to follow these modifications.
Can I install this kind of extension from a local directory by command line ? How can I achieve this ?
Thanks

Hi,
You can download our update sites as ZIP file and then install features from them on the command line like this (on Windows the command needs to start with knime.exe instead):

./knime -application org.eclipse.equinox.p2.director -nosplash -consolelog -r "jar:file:path_to.zip!" -i <feature_id1>,<feature_id2>`

Community extension ZIP files can be downloaded from here.
Kind regards,
Alexander

1 Like

I downloaded two zip files, and tried your command line:

./knime_4.6.4/knime -application org.eclipse.equinox.p2.director -nosplash -consolelog -r 'jar:file:/opt/brsynth/RetroPath2-wrapper/knime/TrustedCommunityContributions_4.6_202212212136.zip!/,jar:file:/opt/brsynth/RetroPath2-wrapper/knime/CommunityContributions_4.6_202212182306.zip!/' -i org.rdkit.knime.feature.feature.group

But, I received:

nstallation failed.
Cannot complete the install because one or more required items could not be found.
	Software being installed: RDKit Nodes Feature 4.6.1.v202212212136 (org.rdkit.knime.feature.feature.group 4.6.1.v202212212136)
	Missing requirement: RDKit Nodes 4.6.1.v202212201943 (org.rdkit.knime.nodes 4.6.1.v202212201943) requires 'osgi.bundle; org.knime.chem.types [4.6.0,5.0.0)' but it could not be found
	Cannot satisfy dependency:
		From: RDKit Nodes Feature 4.6.1.v202212212136 (org.rdkit.knime.feature.feature.group 4.6.1.v202212212136)
		To: org.eclipse.equinox.p2.iu; org.rdkit.knime.nodes [4.6.1.v202212201943,4.6.1.v202212201943]

Some dependencies are missing, have you any ideas to embedded all of them ?

Hi @TheGuiGui,
I think the nodes have a dependency to our main update site. You can include that one as well either as http(s) URL or as a zip. The latest 4.6 zip can be downloaded from this URL: https://update.knime.org/analytics-platform/UpdateSite_latest46.zip.
Kind regards,
Alexander

2 Likes

Thanks, it works perfectly.

Can I deposit these data:

to a Zenodo repository ?

Hi @TheGuiGui,
I assume that you want to put the binaries on Zenodo to make your research reproducible? In that case I think it is just fine to do so. You can add KNIME you the platform as part of the dissemination of your project, in order to ensure reproducibility of your results. If you don’t mind, please include a link back to the original KNIME download page for people to find the latest version as well, and also mention that the software is developed and made available by KNIME AG, Switzerland with a link to the website.
Kind regards,
Alexander

Yes, you are right.
Thank you so much for your help,
Best

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.