How to install only a few compiler components of the Intel oneAPI kits on Ubuntu?

I can install the Intel Fortran compilers with MPI on Ubuntu using:

sudo apt install intel-basekit intel-hpckit

which installs many components, using up to 20GB of disk space total.

Does anybody know the exact and complete list of packages to install via apt to get a working Fortran, C, and C++ compilers with the MPI library and wrappers, and nothing else from the suite?

1 Like

Checkout the full list of all packages at Components available for installation — Intel® oneAPI CI Samples Documentation.


Perfect, exactly what I was looking for. Thanks!

FWIW, this command install only ifort, icc, icpc and MPI wrappers:

sudo apt install \
  intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic \
  intel-oneapi-compiler-fortran \

The installed size on Ubuntu 22.04 is 4.2 GB.


I understand that this has been solved, but you can use the offline GUI installer that lets you check and uncheck whatever you want.


The list of the components in the latest GUI installers is also available in the page linked above, it doesn’t report the size, though.

1 Like

You are right, however the installer itself lists the size.

Why can’t I post images ??? (I have a screenshot proving this)