跳转至主要内容
英特尔标志 - 返回主页
我的工具

选择您的语言

  • Bahasa Indonesia
  • Deutsch
  • English
  • Español
  • Français
  • Português
  • Tiếng Việt
  • ไทย
  • 한국어
  • 日本語
  • 简体中文
  • 繁體中文
登录 以访问受限制的内容

使用 Intel.com 搜索

您可以使用几种方式轻松搜索整个 Intel.com 网站。

  • 品牌名称: 酷睿 i9
  • 文件号: 123456
  • Code Name: Emerald Rapids
  • 特殊操作符: “Ice Lake”、Ice AND Lake、Ice OR Lake、Ice*

快速链接

您也可以尝试使用以下快速链接查看最受欢迎搜索的结果。

  • 产品信息
  • 支持
  • 驱动程序和软件

最近搜索

登录 以访问受限制的内容

高级搜索

仅搜索

Sign in to access restricted content.

不建议本网站使用您正在使用的浏览器版本。
请考虑通过单击以下链接之一升级到最新版本的浏览器。

  • Safari
  • Chrome
  • Edge
  • Firefox

Get the Intel® oneAPI Base Toolkit

  

  • Overview
  • Download
  • Documentation & Resources
本网站采用了 reCAPTCHA 保护机制,并且适用谷歌<a href="https://policies.google.com/privacy">隐私政策</a>和<a href="https://policies.google.com/terms">服务条款</a>。

  Prerequisites

1. Make sure your system meets the System Requirements.

2. Microsoft Visual Studio* is required for installations on Windows*. The installer checks for Visual Studio. If you do not have Visual Studio, you can install one of the following versions:

  • Visual Studio 2019 
  • Visual Studio 2022 
  • Visual Studio build tools 2019 
  • Visual Studio build tools 2022 

For more information, see Visual Studio 2019 or Visual Studio 2022 
3. Before enabling integration into Microsoft Visual Studio via the oneAPI toolkit installer, install the Desktop development with C++ workload into each Visual Studio instance.

  System Requirements

Make sure your system meets the System Requirements.

  APT Prerequisites | Set Up the Repository

1. Make sure your system meets the System Requirements.

2. To add APT repository access, enter the command for the installation prerequisites:


sudo apt update
sudo apt install -y gpg-agent wget

3. To set up the repository, download the key to the system keyring:


# download the key to system keyring
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null

# add signed entry to apt sources and configure the APT client to use Intel repository:
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list

4. Update the packages list and repository index:


sudo apt update

  Zypper Prerequisites | Set Up the Repository

 1. Make sure your system meets the System Requirements.

2. To add the Intel oneAPI repository public key, enter the following command:


sudo zypper addrepo https://yum.repos.intel.com/oneapi oneAPI

3. Zypper automatically imports the public repository key. In some cases, the RPM might require explicit key import:


rpm --import https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB

  YUM/DNF Prerequisites | Set Up the Repository

  1. Make sure your system meets the System Requirements.

  2. To set up the repository, create the YUM or DNF repo file in the /temp directory as a normal user:


tee > /tmp/oneAPI.repo << EOF
[oneAPI]
name=Intel® oneAPI repository
baseurl=https://yum.repos.intel.com/oneapi
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
EOF
  1. Move the newly created oneAPI.repo file to the YUM/DNF configuration directory /etc/yum.repos.d:

sudo mv /tmp/oneAPI.repo /etc/yum.repos.d

  Set Up Your Docker Environment 

Before running the containers, install Docker as described in the document Install Docker Desktop on Linux.

Install with APT

Install a Docker* Container

Install with YUM/DNF

Install with Zypper

Download

Register your product to receive update notifications plus hand-curated technical articles, tutorials, and training opportunities to help you optimize your code.

Size
Version
Date
SHA384

Service Currently Unavailable. Please Try Again Later
Yes, I would like to subscribe to stay connected to the latest Intel technologies and industry trends by email and telephone. I can unsubscribe at any time.
Intel strives to provide you with a great, personalized experience, and your data helps us to accomplish this.
I consent to Intel collecting and using my personal information as described below.
I agree to Intel's transfer of my personal information outside of China for processing in accordance with Intel’s Privacy and Cookie Statement and Intel's Privacy Policy Supplement for Chinese Users.
Continue as a Guest (download starts immediately) →
By submitting this form, you are confirming you are an adult 18 years or older and you agree to share your personal information with Intel to use for this business request. You also agree to subscribe to stay connected to the latest Intel technologies and industry trends by email and telephone. You may unsubscribe at any time. Intel’s web sites and communications are subject to our Privacy Notice and Terms of Use.
By submitting this form, you are confirming you are an adult 18 years or older and you agree to share your personal information with Intel to use for this business request. Intel’s web sites and communications are subject to our Privacy Notice and Terms of Use.
By downloading, you agree to our Privacy and Terms of use

Thank You

Your Download should start immediately.

Failed to submit your form.

Due to a technical difficulty, we were unable to submit the form. Please try again after a few minutes. We apologize for the inconvenience.

Thank you for signing up!

Register

Register your product to receive updates plus hand-curated technical articles, tutorials, and training opportunities to help optimize your code.

Yes, I would like to subscribe to stay connected to the latest Intel technologies and industry trends by email and telephone. I can unsubscribe at any time.
Intel strives to provide you with a great, personalized experience, and your data helps us to accomplish this.
I consent to Intel collecting and using my personal information as described below.
I agree to Intel's transfer of my personal information outside of China for processing in accordance with Intel’s Privacy and Cookie Statement and Intel's Privacy Policy Supplement for Chinese Users.
By submitting this form, you are confirming you are an adult 18 years or older and you agree to share your personal information with Intel to use for this business request. You also agree to subscribe to stay connected to the latest Intel technologies and industry trends by email and telephone. You may unsubscribe at any time. Intel’s web sites and communications are subject to our Privacy Notice and Terms of Use.
By submitting this form, you are confirming you are an adult 18 years or older and you agree to share your personal information with Intel to use for this business request. Intel’s web sites and communications are subject to our Privacy Notice and Terms of Use.

  Other Docker Tags

Ubuntu 24.04


docker pull intel/oneapi-basekit:latest

docker pull intel/oneapi-basekit:2025.1.3-0-devel-ubuntu24.04

Ubuntu 22.04


docker pull intel/oneapi-basekit:2025.1.3-0-devel-ubuntu22.04

Rocky Linux 9


docker pull intel/oneapi-basekit:2025.1.3-0-devel-rockylinux9

  Other Docker Tags

 Ubuntu 24.04


docker pull intel/cpp-essentials:latest

docker pull intel/cpp-essentials:2025.1.1-0-devel-ubuntu24.04

Ubuntu 22.04


docker pull intel/cpp-essentials:2025.1.1-0-devel-ubuntu22.04

Rocky Linux 9


docker pull intel/cpp-essentials:2025.1.1-0-devel-rockylinux9

  Other Docker Tags

 Ubuntu 24.04


docker pull intel/deep-learning-essentials:latest

docker pull intel/deep-learning-essentials:2025.1.3-0-devel-ubuntu24.04

Ubuntu 22.04


docker pull intel/deep-learning-essentials:2025.1.3-0-devel-ubuntu22.04

Rocky Linux 9


docker pull intel/deep-learning-essentials:2025.1.3-0-devel-rockylinux9

  Configure the System After Installation 

For more information on containers, see Docker Hub

  Install with Online GUI Installer

  1. From the console, locate the downloaded install file.
  • To launch the GUI installer as the root, enter sudo sh ./<package name>. For example: sh ./intel-oneapi-base-toolkit-2025.1.3.7.sh
  • Optionally, to launch the GUI installer as the current user, enter $ sh ./<package name>. For example: $ sh ./intel-oneapi-base-toolkit-2025.1.3.7.sh

       2. Follow the instructions in the installer.

  Install with Online GUI Installer

  1. From the console, locate the downloaded install file.
  2. Use sudo sh ./<file name> to launch the GUI installer as the root. 
    Optionally, use $ sh ./<file name> to launch the GUI installer as the current user.  
  3. Follow the instructions in the installer.

  Install with Offline GUI Installer

  1. From the console, locate the downloaded install file.
  2. To launch the GUI installer as the root, do one of the following:
  • Enter sudo sh ./<file name>.  
  • Optionally, to launch the GUI installer as the current user, enter $ sh ./<file name>.

      3. Follow the instructions in the installer. 

  Installation from the Command Line

  1. Read the documentation for Command Line Installation Parameters.

  2. Decide which parameters you want to use. For example, sudo sh ./intel-oneapi-base-toolkit-2025.1.3.7_offline.sh -a --silent --cli --eula accept indicates that you are doing a silent install (--silent) using a command-line interface (--cli) and accept the End User License Agreement (--eula accept)

Note You must accept the End User License Agreement. Make sure you add the parameter --eula accept to the command.

       3. Download the installer by entering the following command: 


wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/4a5320d1-0b48-458d-9668-fd0e4501208c/intel-oneapi-base-toolkit-2025.1.3.7_offline.sh

​​​​​​       4. Run the install script by entering the following command parameters (minimum). You can add more parameters as needed.


sudo sh ./intel-oneapi-base-toolkit-2025.1.3.7_offline.sh -a --silent --cli --eula accept

 

  Install with an Online GUI Installer

  1. To launch the GUI installer, Select the .exe file.
  2. Follow the instructions in the installer.

  Install with an Offline GUI Installer

  1. To launch the GUI installer, Select the .exe file.
  2. Follow the instructions in the installer.

  Install through a Command Line

1. Review the command-line options in Command Line Installation Parameters.

2  Download the toolkit by entering the following command:


wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/e5785fb3-b5a7-4b97-89bc-918adab1f77d/intel-oneapi-base-toolkit-2025.1.3.8_offline.exe

3. Update the following with your selected parameters:

  • For a silent installation, run the following command:

intel-oneapi-base-toolkit-2025.1.3.8_offline.exe -a --silent --eula accept

In a silent installation, integration into Microsoft Visual Studio is by default (if supported). You must install the Desktop development with C++ workload in each Visual Studio instance you start.

  • To skip Visual Studio* integration, pass the following arguments to the installation command by entering: -p=NEED_VSXXXX_INTEGRATION=0, where XXXX is the Visual Studio version. For example, to install a toolkit and skip integration into Visual Studio 2019, enter the following installation command:

intel-oneapi-base-toolkit-2025.1.3.8_offline.exe -s -a --silent --eula accept -p=NEED_VS2019_INTEGRATION=0

4. After the installation is complete, verify that the toolkit is installed in the default directory: C:\Program Files(x86)\Intel\oneAPI.

  Command Line Installation Instructions

  1. Review the command line options Command Line Installation Parameters.
  2. Download the toolkit.

wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/da3f1dbe-47ad-49b5-acb9-3a7858b93d0d/intel-cpp-essentials-2025.1.1.10_offline.exe
  1. Update the following with your selected parameters.

  2. For silent install, run the following command:


intel-cpp-essentials-2025.1.1.10_offline.exe -a --silent --eula accept

In silent mode, integration into Visual Studio* is installed by default (if supported). You need to have the Desktop development with C++ workload installed into each Visual Studio instance beforehand. To skip Visual Studio* integration, pass the following arguments to the installation command: -p=NEED_VSXXXX_INTEGRATION=0, where XXXX is the Visual Studio version. For example, to install a toolkit and skip integration into Visual Studio* 2019, use the following installation command:


intel-cpp-essentials-2025.1.1.10_offline.exe -s -a --silent --eula accept -p=NEED_VS2019_INTEGRATION=0
  1. Once the installation is complete, verify that the toolkit is installed in the default directory: C:\Program Files(x86)\Intel\oneAPI.

  Install through a Command Line

1. Review the command-line options in Command Line Installation Parameters.

2. Download the toolkit by entering the following command:


wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/75d4eb97-914a-4a95-852c-7b9733d80f74/intel-deep-learning-essentials-2025.1.3.8_offline.exe

3. Update the following with your selected parameters:

  • For a silent installation, run the following command:

sudo sh ./intel-deep-learning-essentials-2025.1.3.8_offline.exe -a --silent --eula accept

In a silent installation, integration into Microsoft Visual Studio is by default (if supported). You must install the Desktop development with C++ workload in each Visual Studio instance you start.

  • To skip Visual Studio* integration, pass the following arguments to the installation command by entering: -p=NEED_VSXXXX_INTEGRATION=0, where XXXX is the Visual Studio version. For example, to install a toolkit and skip integration into Visual Studio 2019, enter the following installation command:

intel-deep-learning-essentials-2025.1.3.8_offline.exe -s -a --silent --eula accept -p=NEED_VS2019_INTEGRATION=0

4. After the installation is complete, verify that the toolkit is installed in the default directory: C:\Program Files(x86)\Intel\oneAPI.

  Install Using the Offline GUI Installer

From the console, locate the downloaded installation file.

  • To launch the GUI installer as the root, use sudo sh ./<package name>. For example: sudo sh ./intel-cpp-essentials-2025.1.1.8_offline.sh
  • Optionally, to launch the GUI installer as the current user, use $ sh ./<package name>. For example: $ sh ./intel-cpp-essentials-2025.1.1.8_offline.sh

  Command Line Installation Instructions

  1. Review the Command Line Installation Parameters.

  2. Decide which parameters you want to use. For example, sudo sh ./intel-cpp-essentials-2025.1.1.8_offline.sh -a --s --cli --eula indicates that you are doing a silent install (--s) using a command line interface (--cli) and accepting the End User License Agreement (--eula accept).

Note You must accept the End User License Agreement. Make sure you add the parameter --eula accept to the command.

  1. Download and run the installer with the command parameters you need for your configuration. See the following example:

wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ee18bd01-7360-4bde-abc0-05f780620549/intel-cpp-essentials-2025.1.1.8_offline.sh
  1. Do one of the following to update your selected parameters.
  • For a silent installation, run the following command:

sudo sh ./intel-cpp-essentials-2025.1.1.8_offline.sh -a --silent --eula accept
  1. Once the installation is complete, verify that the toolkit is installed in the default directory: C:\Program Files(x86)\Intel\oneAPI.

  Linux Install Using the Online GUI Installer

From the console, locate the downloaded installation file. Use sudo sh ./<package name> to launch the GUI installer as the root. For example: sh ./intel-cpp-essentials-2025.1.1.8.sh 

Optionally, use $ sh ./<package name> to launch the GUI installer as the current user. For example: $ sh ./intel-cpp-essentials-2025.1.1.8.sh

Follow the instructions in the installer.

  Install with Offline GUI Installer

From the console, locate the downloaded installation file.

  • Use sudo sh ./<file name> to launch the GUI installer as the root. For example: sudo sh ./intel-deep-learning-essentials-2025.1.3.7_offline.sh
  • Optionally, use $ sh ./<file name> to launch the GUI installer as the current user. For example: $ sh ./intel-deep-learning-essentials-2025.1.3.7_offline.sh

  Command Line Installation Instructions

1. Review the Command Line Installation Parameters.

2. Decide which parameters you want to use. For example, sudo sh ./intel-deep-learning-essentials-2025.1.3.7_offline.sh -a --s --cli --eula accept indicates that you are doing a silent install (--s) using a command line interface (--cli) and accepting the End User License Agreement (--eula accept).

Note You must accept the End User License Agreement. Make sure you add the parameter --eula accept to the command.

3. Download and run the installer with the command parameters you need for your configuration. See the following example:


wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/3435dc45-055e-4f7a-86b1-779931772404/intel-deep-learning-essentials-2025.1.3.7_offline.sh

4. Do one of the following to update your selected parameters.

  • For a silent instalation, run the following command:

sudo sh ./intel-deep-learning-essentials-2025.1.3.7_offline.sh -a --silent --eula accept

​​​​ 5. Once the installation is complete, verify that the toolkit is installed in the default directory: /opt/intel/oneapi

  APT Linux | Configure the System After Installation

  1. To install CMake, pkg-config, and the GNU development tools, open an Ubuntu terminal, and then enter the following command:

sudo apt update
sudo apt -y install cmake pkg-config build-essential
  1. To verify the installation location, enter this command:

which cmake pkg-config make gcc g++

  Configure System After Installation

 To install CMake, pkg-config, and the GNU development tools on your Linux system:

1. Open a terminal session and enter the following commands:

Ubuntu*


sudo apt update
sudo apt -y install cmake pkg-config build-essential

Red Hat* and Fedora*


sudo yum update
sudo yum -y install cmake pkgconfig
sudo yum groupinstall "Development Tools"

SUSE*


sudo zypper update
sudo zypper --non-interactive install cmake pkg-config
sudo zypper --non-interactive install pattern devel_C_C++

  2. To verify the installation location, enter this command:


which cmake pkg-config make gcc g++

  Configure a Zypper System After Installation

1. Open a terminal.
2. To install CMake, pkg-config, and the GNU development tools, enter the following command:


sudo zypper update
sudo zypper --non-interactive install cmake pkg-config
sudo zypper --non-interactive install pattern devel_C_C++

3. To verify the installation, enter the following command to display the installation location:


which cmake pkg-config make gcc g++

  Configure a YUM/DNF System After Installation

  1. Open a terminal.
  2. Install CMake, pkg-config, and the GNU development tools by entering the following command:

sudo yum update
sudo yum -y install cmake pkgconfig
sudo yum groupinstall "Development Tools"
  1. To verify the installation, enter the following command to display the installation location:

which cmake pkg-config make gcc g++

  Install the Driver Packages

To use an Intel GPU, install the latest Intel GPU drivers.

To allow long-running GPU kernels in native environments, disable the GPU hangcheck by entering the following command to the Linux kernel boot parameters in GRUB_CMDLINE_LINUX_DEFAULT: i915.enable_hangcheck=0

To give a nonroot user access to the GPU device, use the following commands:

  1. Determine which group name is assigned ownership of the render nodes by entering the command:  stat -c "%G" /dev/dri/render* groups
  2. Determine if the current user is a member of that render node group by entering the command: groups ${USER}
  3. Add the user to the group by entering: sudo gpasswd –a ${USER} video
  4. Activate the video group by entering: newgrp video

  Configure a Windows System After Installation

Install Graphics Drivers

  1. Download the Intel® Driver & Support Assistant (Intel® DSA) by following the link and clicking Download now. The Intel DSA tool will help you identify and install the correct driver for your system.
  2. Run the Intel® DSA, and then follow the on-screen prompts to install the latest version of Intel Graphics - Windows 10 or 11 DCH Drivers.
  3. To troubleshoot any installation issues or to manually install a driver without the use of the Intel DSA, see How to Install an Intel® Graphics Driver in Windows® 10 & Windows 11*.

Microsoft Visual Studio Instructions

  Run Sample Code to Verify Installation

There are two methods for verifying that the tools are installed correctly. Choose the one that works for you. Vector-Add is a simple sample used in both methods.

Microsoft Visual Studio

  1. Follow the instructions in the Get Started Guide

Command Line Browser (recommended)

Use the oneAPI sample browser:

  1. Create a folder where you want to store your sample. For example, C:\samples\vector-add
  2. Open a command window. 
  3. Set system variables by running setvars. There are two variants for component directory and unified directory layouts.

a. Component Directory Layout: "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"

          Note: For Windows* PowerShell* users, enter this command:


cmd.exe "/K" '"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" && powershell'

b. Unified Directory Layout: "C:\Program Files (x86)\Intel\oneAPI\<toolkit-version>\oneapi-vars.bat"

         Note: For Windows PowerShell* users, enter this command:


cmd.exe "/K" '"C:\Program Files (x86)\Intel\oneAPI\<toolkit-version>\oneapi-vars.bat" && powershell'

         The previous command assumes that you installed to the default folder. If you customized the installation folder, setvars | oneapi-vars is in your custom folder.

4. To launch the oneAPI Samples Browser utility, enter the following command: oneapi-cli

5. Press the up and down arrow keys to navigate to the sample: Create a project > cpp > Base: Vector Add.

6. To select the sample, press Enter. 

7. Specify the project's location. The default location includes the path from where the utility was run and the project name. 

8. Press Tab to select Create, and then press Enter. 

9. Configure the build system and build the Vector Add sample as described in the sample documentation.

Explore more samples in the oneAPI Samples Catalog.

  Run Sample Code to Verify Installation

There are three methods to verify that the tools are installed correctly. Pick the one that works for you. Vector add is a simple sample used in all three methods.

  • Command-line browser (recommended)
  • Microsoft Visual Studio Code
  • Eclipse IDE

Command-Line Browser

To use the oneAPI sample browser utility:

1. Set environmental variables by sourcing the oneapi-vars.sh script:


. /opt/intel/oneapi/<toolkit-version>/oneapi-vars.sh

2. To launch the oneAPI Samples Browser utility, enter the following command :


oneapi-cli

3. Press  the up and down arrow keys to navigate to the sample: Create a project > cpp > Base: Vector Add.

4. To select the sample, press Enter.
5. Specify the project's location. The default location includes the path from where the utility was run and the name of the project. 
6. Press Tab to select Create, and then press Enter. 
7. Configure the build system and build the Vector Add sample as described in the sample documentation. 

Explore more samples in the oneAPI Samples Catalog.

 

Visual Studio Code

To run a sample, see Instructions for Using VS code ​​​​​​.

 

Eclipse IDE

To run a sample, see Eclipse Get Started Guide. 

  Additional Resources

 

Intel oneAPI Programming Guide

Single Components and Previous Versions

  • Choose a tool from the the Stand-alone Component page.
  • For the most current functional and security features, update to the latest version as it becomes available. Previous versions of the toolkit are available through Priority Support.

Docker License Information

By accessing, downloading, or using this software and any required dependent software (the “Software Package”), you agree to the terms and conditions of the software license agreements for the Software Package, which may also include notices, disclaimers, or license terms for third-party software included with the Software Package. 

  

Support

Start-up support is available if there is an issue with the tool selector functionality.

Report an Issue

Feedback Welcome

Share your thoughts about this tool selector and provide suggestions for improvement. Responses are anonymous.

Start Survey
  • 公司信息
  • 英特尔资本
  • 企业责任部
  • 投资者关系
  • 联系我们
  • 新闻发布室
  • 网站地图
  • 招贤纳士 (英文)
  • © 英特尔公司
  • 沪 ICP 备 18006294 号-1
  • 使用条款
  • *商标
  • Cookie
  • 隐私条款
  • 请勿分享我的个人信息 California Consumer Privacy Act (CCPA) Opt-Out Icon

英特尔技术可能需要支持的硬件、软件或服务激活。// 没有任何产品或组件能够做到绝对安全。// 您的成本和结果可能会有所不同。// 性能因用途、配置和其他因素而异。请访问 intel.cn/performanceindex 了解更多信息。// 请参阅我们的完整法律声明和免责声明。// 英特尔致力于尊重人权,并避免成为侵犯人权行为的同谋。请参阅英特尔的《全球人权原则》。英特尔产品和软件仅可用于不会导致或有助于任何国际公认的侵犯人权行为的应用。

英特尔页脚标志