openmolecules.org

 
Home » DataWarrior » Functionality » Jar file from Linux build (replacing the original datawarrior.jar file with the freshly built one)
Re: Jar file from Linux build [message #1748 is a reply to message #1747] Tue, 11 October 2022 09:13 Go to previous messageGo to previous message
nbehrnd is currently offline  nbehrnd
Messages: 224
Registered: June 2019
Senior Member
Dear nats,

I would suggest to select either a) to use one of the installers the download page[1] offers (since you mention Linux, the one available specific for Linux[2]), or to build the DataWarrior executable with the source code provided by the GitHub page.[3] To use the installer in the first place goes beyond convenience of (typically) «everything on board», because it includes a Java Runtime Environment known to support the application. In case of a local installation of DW e.g., in Linux Debian 12/bookworm (or earlier Xubuntu 18.04LTS), this creates a short cut in the program pull-down menu (section «office»). Since AWS equally offers instances in Debian and Ubuntu, I would try to use these OSes. Preference would be given to use a light desktop environment/a minimal installation (e.g., `sudo apt-get install --no-install-recommends xubuntu-desktop`) to keep the footprint (CPU/RAM, hardware space) of programs not related to your work with DataWarrior small.

The installers however provide DW as published in April 2021. Subsequent improvements of the program are available by archives to update an already existing and functional installation. Except to remove bugs, these archives are released about once all 15 days and are available from the same address after you acknowledge the fine print. There is one .zip for Linux and MacOS in common.[4] So, while DataWarrior is closed, decompress this smaller archive (ca 20MB) and move all its content into /opt/datawarrior to overwrite some of the files put there by the installer -- the later requires elevated privileges of a superuser/root. Then restart the program.

Though it is not necessary, I supplemented the installation by definition of an alias in the ~/.bashrc file

alias dw="/opt/datawarrior/datawarrior"
This allows to launch DW by typing `dw` on the terminal. For an activation, run

$ source ~/.bashrc
once ~/.bashrc was edited and closed.

With regards,

Norwid

[1] https://openmolecules.org/datawarrior/download.html
[2] https://openmolecules.org/datawarrior/datawarrior550.tar_gz
[3] https://github.com/thsa/datawarrior
[4] https://openmolecules.org/datawarrior/dw550x.zip

[Updated on: Tue, 11 October 2022 09:14]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: update/recalculation of all computed array data
Next Topic: Feature Request
Goto Forum:
  


Current Time: Fri Nov 22 03:57:15 CET 2024

Total time taken to generate the page: 0.03679 seconds