Install with Package Managers
On Linux* OS, learn how to install Intel® VTune™ Profiler using the APT, YUM, DNF, or Zypper package managers.
Before You Begin
Make sure that your operating system is supported. Check System Requirements.
If you have not installed Intel® oneAPI software products using package managers previously, configure your package manager to work with the repository. Follow instructions in the sections below.
APT
If you have not installed Intel® oneAPI Toolkits or components previously, configure your package managers to use Intel repositories:
- (Optional) Switch to any directory with write access. This example uses /tmp:
- Download the Intel repository public key. Use wget:
- Add the public key to your apt keyring:
- (Optional) Remove the public key file, since this is no longer required:
- Configure the APT client to use the Intel repository:
If the add-apt-repository utility is installed, run this command instead:
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
- Update the APT package lists:
- Install the VTune Profiler standalone package:
YUM
If you have not installed Intel® oneAPI Toolkits or components previously, configure your package managers to use Intel repositories:
- In a directory that has write access, create a YUM/DNF .repo file. This example uses /tmp:
- Move the oneAPI.repo file that you just created, to the YUM/DNF configuration directory (/etc/yum.repos.d):
Run this command:
DNF
If you have not installed Intel® oneAPI Toolkits or components previously, configure your package managers to use Intel repositories:
- In a directory that has write access, create a YUM/DNF .repo file. This example uses /tmp:
- Move the oneAPI.repo file that you just created, to the YUM/DNF configuration directory (/etc/yum.repos.d):
Run this command:
Zypper
If you have not installed Intel® oneAPI Toolkits or components previously, configure your package managers to use Intel repositories.
Run this command to add the Intel repository key:
Run this command:
After you Install VTune Profiler
To use the command line interface of VTune Profiler, set environment variables first. Run these scripts:
bash:
csh/tcsh:
To verify if you installed VTune Profiler correctly or troubleshoot issues with the installation, use the self-check script (vtune-self-checker.sh) available in the package. This script runs a set of analyses on a sample application, and reports the progress interactively.
Before you run the self-check script, make sure to set environment variables.
Next, open a terminal window.
Go to this location: /opt/intel/oneapi/vtune/latest/bin64/
Run the vtune-self-checker.sh script:
The self-check script may take several minutes to run all necessary checks.
Once the script completes all checks, review the summary. Check if any analyses failed, and see the log file for additional information.
If you install VTune Profiler without superuser privileges, you must complete additional configuration steps to enable hardware analyses through Linux Perf*.
To learn about these steps and possible limitations, see this technical recipe on Profiling Hardware Without Intel Sampling Drivers.
Learn More
- See guided examples in the Get Started Guide.
- Follow a comprehensive tutorial to Analyze Common Performance Bottlenecks
- Learn about analysis types, workflows, and command line use in the User Guide
- Browse through technical recipes that address typical use cases and challenges in the Performance Analysis Cookbook