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.
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. Ommitting this will install Ansys LM into the default folder in the root directory, "/ansys_inc".
Installation without the GUI or root access
- See this section in the Ansys license manager installation guide for details.
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