Ansys now supports Ubuntu 20.04 starting with the 2022 R2 release. This page outlines the process of installing the Ansys license manager on a supported version of Ubuntu Linux running with the default Ubuntu desktop environment.
Requisites
- Install and create the folders prior to installing the Ansys license manager.
#if you have not installed a desktop environment (optional)
sudo apt-get install ubuntu-desktop
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt install libpng12-0
sudo apt-get install alien
sudo apt-get install lsb
#these folder is require by FlexNet
sudo mkdir /usr/tmp
sudo mkdir /usr/tmp/.flexlm
- If you don't have a GUI or desktop environment, proceed with the non-GUI installation here using the Enterprise version of the Ansys LM.
- See below for the 'workaround process' to install on Ubuntu 22.04 LTS.
Installation process
- Download the Ansys license manager installation package from the Lumerical customer downloads page or the Ansys Customer Portal.
- Change directory to the location of the Ansys LM installation package.
- Extract the installation files.
- Run the install script to install the Ansys LM into the default path, "/ansys_inc/".
cd /location_of_installer/
tar -xf ANSYSLICMAN_<version>_LINX64.tgz
sudo ./INSTALL
Silent installation
- Run "INSTALL" with -silent -LM argument.
- This will install the Ansys license manager without the GUI popup.
./INSTALL -silent -LM -install_dir [install_path]
- The "-install_dir [install_path]" argument is optional. Omitting this will install Ansys LM into the default folder in the root directory, "/ansys_inc" where root access is required.
- Add the "-install_dir [install_path]" argument to install Ansys LM on a different location where you have write access.
Installation without the GUI or root access
- See this section for installation using the Enterprise version of the Ansys LM.
Starting/Stopping the license manager
sudo /ansys_inc/shared_files/licensing/start_ansysli
sudo /ansys_inc/shared_files/licensing/stop_ansysli
Checking the license manager status and license usage
/ansys_inc/shared_files/licensing/linx64/ansysli_server -k info
/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -a -c 1055@localhost
Installation on Ubuntu 22.04 LTS
Notes: Ubuntu 22.04 is not a supported operating system. The following process is a work around, provided as is for this version of Ubuntu and provides no guarantee that this will work on all Ubuntu 22.04 installations.
- Download "libldap2.4" package from Ubuntu.
- Or open Terminal and use 'wget' to download the package.
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.4-2_2.4.49+dfsg-2ubuntu1.9_amd64.deb
- There will be an error when installing the package for missing libraries.
- "Fix the broken" installation to resolve the dependencies.
sudo dpkg -i libldap-2.4-2_2.4.49+dfsg-2ubuntu1.9_amd64.deb
sudo apt --fix-broken install
- Install the Ansys license manager using the default installation process shown above.
Issues with Ansys license manager
See this Knowledge Base (KB) article on how to obtain the Ansys license manager logs and diagnostic files to troubleshoot issues with the Ansys LM.
See also
Lumerical product installation on Ubuntu