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

**URL:** https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834
**Category:** Help
**Created:** [June 25, 2022, 1:43pm UTC](https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834 "2022-06-25T13:43:42Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![milancurcic](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/milancurcic/32/2_2.png) [@milancurcic](https://fortran-lang.discourse.group/u/milancurcic)
#### Post date: [June 25, 2022, 1:43pm UTC](https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834/1 "2022-06-25T13:43:42Z")

</div>

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

```auto
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?

---

<div class="post-metadata">

### Author: ![awvwgk](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/awvwgk/32/154_2.png) [@awvwgk](https://fortran-lang.discourse.group/u/awvwgk)
#### Post date: [June 25, 2022, 2:00pm UTC](https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834/2 "2022-06-25T14:00:18Z")

</div>

Checkout the full list of all packages at [Components available for installation — Intel® oneAPI CI Samples Documentation](https://oneapi-src.github.io/oneapi-ci/).

---

<div class="post-metadata">

### Author: ![milancurcic](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/milancurcic/32/2_2.png) [@milancurcic](https://fortran-lang.discourse.group/u/milancurcic)
#### Post date: [June 25, 2022, 2:21pm UTC](https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834/3 "2022-06-25T14:21:28Z")

</div>

Perfect, exactly what I was looking for. Thanks!

---

<div class="post-metadata">

### Author: ![milancurcic](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/milancurcic/32/2_2.png) [@milancurcic](https://fortran-lang.discourse.group/u/milancurcic)
#### Post date: [June 29, 2022, 4:28pm UTC](https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834/4 "2022-06-29T16:28:26Z")

</div>

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

```auto
sudo apt install \
  intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic \
  intel-oneapi-compiler-fortran \
  intel-oneapi-mpi-devel

```

The installed size on Ubuntu 22.04 is 4.2 GB.

---

<div class="post-metadata">

### Author: ![Aurelius\_Nero](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Aurelius\_Nero](https://fortran-lang.discourse.group/u/Aurelius_Nero)
#### Post date: [June 30, 2022, 7:32am UTC](https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834/5 "2022-06-30T07:32:18Z")

</div>

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

> **[Download the Intel® oneAPI Base Toolkit](https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=linux&distributions=webdownload&options=offline)**
>
> Select your operating system, distribution channel and then download your customized installation of Intel® oneAPI.

---

<div class="post-metadata">

### Author: ![awvwgk](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/awvwgk/32/154_2.png) [@awvwgk](https://fortran-lang.discourse.group/u/awvwgk)
#### Post date: [June 30, 2022, 9:10am UTC](https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834/6 "2022-06-30T09:10:24Z")

</div>

> [@Aurelius\_Nero](#):
>
> 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.

---

<div class="post-metadata">

### Author: ![Aurelius\_Nero](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Aurelius\_Nero](https://fortran-lang.discourse.group/u/Aurelius_Nero)
#### Post date: [June 30, 2022, 9:40am UTC](https://fortran-lang.discourse.group/t/how-to-install-only-a-few-compiler-components-of-the-intel-oneapi-kits-on-ubuntu/3834/7 "2022-06-30T09:40:32Z")

</div>

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

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