How to: Install the ByteBlower Tcl/Python API in unattended, quiet or non-interactive mode.
Posted by Tim De Backer, Last modified by Pieter Vandercammen on 26 May 2020 02:12 PM
|
|
IntroductionBy default, the ByteBlower Tcl/Python API is installed interactively. When starting the installer, an installation wizard is presented to the user. By going through this wizard, settings such as the installation directory can be configured. When a graphical environment is present on the system (e.g. Windows or a desktop version of a Linux distribution), an installer window is shown. In a non-graphical environment, the same questions are asked in the console, where the user can specify custom values. To easily deploy the Tcl API/Python API application automatically across multiple devices in a controlled environment, a unattended (or non-interactive or quiet) installer is available. Note: for a similar article about the GUI installer, see here. Unattended modeTo run the installer in unattended mode, simply run the installer executable as a command and add the unattended option. Note the API can only be installed by a superuser (i.e. a system-wide install). Linux TCL-API(e.g. 64 bit): $ ./ByteBlower-API-Tcl-linux-x86_64-installer.run --mode unattended Linux Python-API(e.g. 64 bit): $ ./ByteBlower-API-Python-linux-x86_64-installer.run --mode unattended Windows TCL-API > ByteBlower-API-Tcl-windows-x86-installer.exe --mode unattended Windows Python-API > ByteBlower-API-Python-windows-x86-installer.exe --mode unattended MacOS TCL-API(from 10.6 Snow Leopard on): $ open ./ByteBlower-API-Tcl-osx-installer.app --args --mode unattended MacOS Python-API(from 10.6 Snow Leopard on): $ open ./ByteBlower-API-Python-osx-installer.app --args --mode unattended Mac OS X (pre 10.6 Snow Leopard): $ ./Byteblower-API-Tcl-osx-installer.app/Content/MacOS/installbuilder.sh --mode unattended Running the unattended installation has the following effects:
In exactly the same way, the application can be silently uninstalled. For example for a Linux user-wide installation: $ /opt/Excentis/ByteBlowerTcl/uninstall --mode unattended Customization in unattended modeSometimes the default installer settings are not desirable. They can be overridden by providing additional command-line arguments to the installer. The following arguments can be used:
For example, on a Linux system: $ ./ByteBlower-API-Tcl-linux-x86-installer.run --mode unattended --prefix /mnt/software/byteblower/tcl --disable-components examples --tcl_pkg_path /mnt/tcllib/packages Note you can show all command-line options using the TroubleshootingTcl installation not foundQuestion: You encounter the following message No such file or directory
Question: What does this error mean? | |
|