[update] IBM has changed the website from where CPLEX can be downloaded. It is now ibm.biz/CPLEXonAI.
Following the post on how to download CPLEX for free (academics and students), find here how to install it under linux.
Register with IBM on the hub and download CPLEX 12.9 from https://ibm.onthehub.com/
Select on the menu Data & Analytics –> Software –> CPLEX
For Linux, download option “File: IBM ILOG CPLEX Optimization Studio 12.9 for Linux x86-64 Multilingual (CNZM2ML)”
Note that to install it, you do not need administrator privileges.
Follow on-screen instructions, and when asked about the path to install it, write
change “username” by your username on the machine
Atter installation, edit the file ~/.bashrc and add the following line at the end:
Remember to change username.
Save the file, and execute the commands
You should have loaded CPLEX now.