Altova LicenseServer can be installed on macOS systems (see system requirements below). Since you might need to uninstall a previous version, uninstalling is described first.
macOS 10.13 or newer
In order to install LicenseServer, admin rights are required for the machine on which LicenseServer is to be installed.
Before uninstalling LicenseServer, stop the service with the following command:
sudo launchctl unload /Library/LaunchDaemons/com.altova.LicenseServer.plist
To check whether the service has been stopped, open the Activity Monitor terminal and make sure that LicenseServer is not in the list.
In Applications, right-click the LicenseServer icon and select Move to Trash. The application will be moved to Trash. You will, however, still need to remove the application from the usr folder. Do this with the command:
sudo rm -rf /usr/local/Altova/LicenseServer
Open Altova's download page http://www.altova.com/download.html and locate the Altova LicenseServer installer under "Server Software Products" for Mac. After downloading the disk image (.dmg) file, click to open it. This mounts a new virtual drive on your computer. On the virtual drive, double-click the package (.pkg) file, and follow the on-screen instructions. You will need to accept the license agreement for installation to proceed.
Note the following points:
•The LicenseServer package will be installed in: /usr/local/Altova/LicenseServer
•A user named altovalicenseserver will be created, which will have the necessary rights to run LicenseServer. When LicenseServer is started as a daemon (or service), it will be started automatically as this user.
Background information about running LicenseServer as a service
Note the following points:
•It is best to run LicenseServer as a daemon (or service).
•When running LicenseServer as a daemon, it is best to manage LicenseServer via the launchctl command. This command can be run only with root-user privileges. So, if you are running as a non-root user, then use the sudo command to temporarily gain root-user privileges (sudo launchctl... ).
•Once LicenseServer has been started as a daemon, it will automatically run as the altovalicenseserver user, which (i) was created by the LicenseServer installer at installation time, and (ii) has all the necessary rights for running LicenseServer. For more information, see the section about starting LicenseServer.
To eject the virtual drive after installation, right-click it, and select Eject.
New versions of Altova products can only be licensed with the version of LicenseServer that is the latest at the time of the Altova product's release. However, older versions of Altova products will work with newer versions of LicenseServer.
Consequently, if you are installing a new version of an Altova product and if your current LicenseServer version is not the latest, then de-install the older LicenseServer version and install the latest version from the Altova website. All registration and licensing information held in your older version of LicenseServer will be saved at the time of de-installation to a database on your machine, and will be imported automatically into the newer version of LicenseServer.
If you choose to install a newer version of LicenseServer without first de-installing your older version, then the older version will be de-installed automatically by the LicenseServer installer before the newer version is installed.
The version number of your LicenseServer is given at the bottom of all tabs of the LicenseServer configuration page.
Also see: Updating LicenseServer
After LicenseServer has been installed, the machine on which it has been installed does not need to be restarted. Make sure, however, that LicenseServer has been started as a service on the server machine (see next section).