7.5. Linux Procedures

7.5.1. Installing/Updating the Dongle Driver on Linux


Caution:  Removing a dongle or a dongle driver may seriously disrupt your ability to run any product that uses the dongle. Therefore, do not remove a dongle or dongle driver until you determine that it is safe to do so for all products using the dongle. Always stop all license managers that use the dongle and remove the dongle from the system before removing any existing driver. (These steps are detailed below for the Ansys License Manager.)


To install the Ansys-supplied driver on Linux systems, follow the steps below. You must have root permissions to install this driver.

  1. Install the Release 2024 R2 Ansys License Manager.

  2. Confirm that the license manager is not running.

  3. Remove all FLEXID9 dongles attached to your machine. Do not attach any dongles to the system again until told to do so in this document.

  4. Remove any existing driver on your system, if necessary. See the Removing an Existing Dongle Driver on Linux section below to determine if you must remove an existing driver.

  5. Navigate to the directory:

    /ansys_inc/shared_files/bin/linx64/drivers/flexnet

  6. Extract the 11_16_4_0.tar file.

  7. Update the version of lmutil included with the Ansys License Manager installation from 11.13.1.2 to version 11.16.4.0.

    1. To do this, open the following directory:

      /ansys_inc/shared_files/license/linx64/

    2. Rename the lmutil file to lmutil-11_13_1_2.

    3. Copy the version of 11.16.4.0 version of lmutil file included in the dongle driver package found here:

      /ansys_inc/shared_files/bin/linx64/drivers/flexnet/

    4. Paste this lmutil file into the following directory:

      /ansys_inc/shared_files/license/linx64/

  8. Go to the subdirectory containing the 11_16_4_0.tar file's contents, and do the following:

    1. Copy the libhasp_linux_x86_64.so file to the /usr/lib64 directory.


      Note:  If this file already exists in the /usr/lib64 directory, rename it before copying the file. If the files are identical, no action is required.


    2. SUSE 12 SP2 only: Installation of version 7.9 of the dongle driver requires the following additional commands to be issued at this point:

      systemctl enable aksusbd

      systemctl start aksusbd

    3. Run the following command to install the driver:

      rpm -i ./aksusbd-7.90-1.x86_64.rpm

  9. Reboot the machine.


    Note:  You may not see the new driver until the dongle has been inserted into the machine. However, do not insert the dongle until the next step.


  10. After the machine has restarted, insert the dongle. Wait until the dongle's LED light is red and is not flashing. If you have multiple dongles, wait until the light is red (and not flashing) before inserting the next one.

  11. To see if the dongle is recognized, open the Ansys License Management Center and click the Get System Hostid Information link. If the dongle is recognized, you will see a FLEXID9 Dongle ID (F) entry under the IDTYPE column. You can bring up the Ansys License Management Center by running the following script:

    /ansys_inc/shared_files/licensing/start_lmcenter

7.5.2. Removing an Existing Dongle Driver on Linux


Caution:  Removing a dongle or dongle driver may seriously disrupt your ability to run any product that uses the dongle. Therefore, do not remove a dongle or dongle driver until you determine that it is safe to do so for all products using the dongle. Always stop all license managers that use the dongle and remove the dongle from the system before removing any existing driver.


  1. Before installing the new driver, you must determine whether an existing driver must first be uninstalled.

    • If the existing driver was installed via the script method (that is, using the dinst script provided with the older version of the driver) rather than by using the rpm method, you may not need to remove the currently installed driver before installing the new driver. The rpm installation method that will be used to install the new driver should replace the existing driver with the new driver. If you decide to uninstall this driver, you must use the dinst script that you used to install it.

    • If the existing driver was installed via the rpm method, you must uninstall this driver before installing the Ansys-supplied driver. (As of Ansys Release 16.0, the only FlexNet-provided driver installation method has been the rpm method.)

  2. If you uninstalled a driver, reboot the machine.