Download offline script file https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#dpcpp-cpp
Before downloading the offline version I downloaded the online version. Somehow the installation procedure freezed and I quitted
with CTRL+C. But if you launch again the script it says "Another program is being installed".
Fix: Intercept the zombie script with ps -aux
and kill it.
Launch the script and accept the terms of agreement and the various options.
Then, go to the installation path and add ~/intel/oneapi to your bashrc file and source it.
source ~/intel/oneapi/setvars.sh