a) Debian / Ubuntu
There is a package-manager installation: Download the Structorizer package for "Debian/Ubuntu" from the Structorizer download page. The name of the file is structorizer.deb. You may install it with the following command (maybe you'll need super user rights):
dpkg -i structorizer.deb
Note that from Structorizer version 3.32-12 on, you will need an up-to-date Debian version (12 or newer) in order to cope with the new compression algorithm used to generate the structorizer.deb file.
If no Java is installed, you will have to launch the following command to download and install dependencies (should the package manager confusingly ask for "default-jre | java6-runtime", whereas we need java11 at least, please don't panik—usually the default-jre is preferred and refers to an up-to-date Java version, e.g. openjdk17-jre, which will of course do):
apt-get -f install
Hint: On Ubuntu you may need to edit the file
/etc/java-11-openjdk/accessibility.properties (or some more advanced version of it) and comment out the line starting with "assistive_technologies" by placing a # in front.
You may find further helpful information in German about Structorizer installation / usage with Ubuntu on the ubuntuusers Wiki.
Note that you can simply override a former installation of Structorizer if you install a newer version according to the step(s) listed above.
b) Linux distributions not accepting Debian packages
You may always choose to use Structorizer without actual installation (also under Debian/Ubuntu, of course): Download the latest version of Structorizer (Windows & Linux) from the Structorizer download page (the name of the file is structorizer_latest.zip) and unzip it somewhere appropriately in your file system (depending on whether you want to make it available for all users or just for yourself). You can simply run the file "structorizer.sh" contained in the unzipped directory. (Of course, you must have installed a suitable Java version, i.e., at least 11, before.)
If you'd like immediately to load a diagram upon application startup then just add its file path as argument to the command (you may even put several .nsd, .arr, or .arrz files as arguments at once):
structorizer.sh ~/nsd/myExample.nsd
See Batch Export and Batch Import for a complete list of available command line options for Structorizer. There is also a man page file "Structorizer.1" in the unzipped directory explaining the options and arguments for command line use. You may integrate it into the man directory or just view it using command (where <structorizer_folder> is to be replaced by the actual Structorizer directory, of course)
man -l <structorizer_folder>/Structorizer.1 |