oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions related to download, Installation and licensing for Intel oneAPI Toolkits and software development tools.
1350 Discussions

How to use 'icc' if i only installed the latest Intel HPC toolkit?


I want to use 'icc' not 'icx', but it seems that 'icc' has been fully replaced by 'icx' in the Intel HPC toolkit.

I found a method but i can't use it: wget… apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB echo "deb all main" >/etc/apt/sources.list.d/intel-oneapi.list apt-get update apt-get install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic

However, when i went 'apt-get update',it told me 'E: Malformed entry 1 in list file /etc/apt/sources.list.d/intel-oneapi.list (URI parse) E: The list of sources could not be read.' . Then i have no idea what to do.

Can someone tell me how to get 'icc'?

0 Kudos
2 Replies

Hi Iliyas, please note that Intel® C++ Compiler Classic (icc) is deprecated and was discontinued in the oneAPI 2024.0 release. Intel recommends that customers transition now to using the LLVM-based Intel® oneAPI DPC++/C++ Compiler (icx) for continued Windows* and Linux* support, new language support, new language features, and optimizations. For more information on icx, see the Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference and the Porting Guide for ICC Users to DPCPP or ICX.

The Intel® oneAPI DPC++/C++ Compiler is available as part of the Intel® oneAPI Base ToolkitIntel® HPC ToolkitIntel® oneAPI IoT Toolkit, or as a standalone compiler.

Also, please note that Intel® has decided that Intel Compilers Versions: 2024.0.2 and earlier are not supported anymore. We urge users to upgrade to the latest version of Intel® developer tools. The unsupported versions do not include the latest functional and security updates. These versions are targeted to be removed after a period. We understand that this might be challenging, but it's important to note that the users with active priority support can only access older product versions.


For more information refer to the link:, and scroll down to the Unsupported Product Version.


Intel® oneAPI users with active Intel Priority Support can access older versions via a secure portal you gain access to as part of your support subscription. 


FAQ's Priority Support Link:

0 Kudos

Hi Iliyas, unfortunately, we were unable to hear back from you. 

If you have any further queries, please post a new question, as this thread will no longer be monitored by Intel®. 

0 Kudos