4.4 Using the command line to configure your client computer licensing (Linux clients only)

On Linux clients, you can set up your licensing environment using an environment variable.

On Linux clients, you can set the environment variable ARMLMD_LICENSE_FILE to include port@server information.


If a default port in the range between 27000 and 27009 is used on the server, then you can omit the port number in the environment variable, but you must include the ‘@’ symbol before the name of the server. For example, @my_server.

You can configure your Linux client to obtain its license from a server using shell commands, or by editing the .frlxlmrc file.

Setting ARMLMD_LICENSE_FILE with shell commands

If you are using csh or tcsh, you can set the environment variable for a single server by entering:

setenv ARMLMD_LICENSE_FILE 8224@my_server

If you are using bash or sh, enter:

export ARMLMD_LICENSE_FILE=8224@my_server

If you want to refer to more than one floating license server, you can add these values to your environment variables. For example, in csh or tcsh enter:

setenv ARMLMD_LICENSE_FILE 8224@my_server1:8224@my_server2:@my_server3

In this example, the port number is omitted for my_server3 because a default port is being used. In all cases you might want to add the environment variable settings to your startup scripts so that your licensing is set up automatically when you log in.

Setting ARMLMD_LICENSE_FILE in the .flexlmrc file

You can edit the .flexlmrc file in your home directory to set up client licensing by adding the line:


where value is the value for the environment variable, such as 8224@my_server.

Non-ConfidentialPDF file icon PDF version100952_0529_00_en
Copyright © 2011–2018 Arm Limited or its affiliates. All rights reserved.