Linux Installations: Running the License Initialization Script
As part of a Standalone installation of Thermo‑Calc, the Setup runs a license initialization script. If you get a warning message during the standalone installation Unable to run post-installation script
, run the license initialization script as root after the installation, then you need to manually run the script as root.

Note the following if you are a sudo user (administrator) in openSUSE installing Thermo‑Calc using this command:
sudo ./Thermo-Calc-linux-<full-version-number>.run
When this command is used, you will do a text-based installation instead of having a graphical interface to guide you. The information is the same, just without the user interface.
For example, the <full-version-number> is not just 2025b, it is what is found in the Help → About window in Thermo-Calc and it changes every release. You can find the current full version number listed on our website.

For this script to successfully initialize the license, the license file must be called lservrc and be located in the directory where you have installed Thermo‑Calc.
Installation Default Directory: Linux
- In the console, go to the Thermo‑Calc installation directory.
- The license file is put in
/home/<user>/Thermo‑Calc
if you are installing as a non-root user, where<user>
is your user name. - If you are installing as root, then this directory is
opt/Thermo‑Calc/
.
- The license file is put in
- Enter this command:
$ sudo sh license-initialization-linux.sh
If you are not able to execute the
sudo
command because you are not on the sudoers list, you must log in as a root user with the commandsu
, and then usesh
to run the license initialization script. For example, on a 64-bit computer, enter the following:$ sh license-initialization-linux.sh
- Log out of Thermo‑Calc and then log back in to save these changes.