Installing intel vTune issue

Hey everyone, i added the intel vtune repo and installed the package, but its not anywhere on my machine. when i do rpm -qa | grep intel-oneapi-vtune, it shows up, and when i try to do rpm-ostree install intel-oneapi-vtune, it says error: "intel-oneapi-vtune" is already provided by: intel-oneapi-vtune-2025.3.0-15.x86_64. Use --allow-inactive to explicitly require it. But when I try to uninstall it, i get error: Package/capability 'intel-oneapi-vtune' is not currently requested. anyone know how to fix this?
Solution:
This might be a package that installs into /opt. You'll want to use the optfix part of the dnf or rpm-ostree module
Jump to solution
13 Replies
Solution
Luke Skywunker
This might be a package that installs into /opt. You'll want to use the optfix part of the dnf or rpm-ostree module
Luke Skywunker
You'd need to know the name of the directory it creates
jonah
jonahOP2w ago
oh yeah it is ill give optfix a try
Luke Skywunker
What is vtune?
jonah
jonahOP2w ago
profiler for c++, rust and other languages its pretty powerful, im using it in a distrobox rn but it also has some special kernel driver which makes it better i wonder if you could detect if a package is trying to use /opt and warn about it or maybe its already doing that and i missed it
Luke Skywunker
I was just thinking about that, maybe even looking into possibly fixing it automatically We already have a systemd unit to recreate the symlinks
jonah
jonahOP2w ago
I know rpm -qi <package name> gives all the directories the package uses Maybe you could use that, I have no idea how feasible it is lol
somebody once told me
like, in a list ? if so, smthn like "rpm -qi package | grep /opt" might work idk what the nushell equivalent would be
jonah
jonahOP2w ago
I think it would be something like rpm -qi package | find —regex “^/opt”
xyny
xyny2w ago
i would probably split the output by row and filter the resulting list, but regex of course works always too
jonah
jonahOP2w ago
Regex 🥰🥰😍😍🔥💪💪 It makes it easy to make sure /opt isn’t somewhere in the middle
somebody once told me
rpm -qi package | grep '^/opt'
jonah
jonahOP2w ago
so ive run into another issue... the vtune kernel driver isnt signed. it looks like if i have kernel-devel installed and symlink it to the directory that intel looks for (it looks for /usr/src/linux-<version> but fedora puts it in /usr/src/kernels/linux-<version>), it will automatically build the kernel drivers. i was wondering what the best way would be to sign the drivers myself and install them in my blue-build image. intel provides a script to load the drivers on boot but im guessing that wont work on silverblue. Theres this tutorial https://www.jviotti.com/2024/10/08/running-the-intel-vtune-profiler-on-fedora.html that discusses how to do it on normal fedora.
Juan Cruz Viotti
Running the Intel VTune Profiler on Fedora
This article explains how to install and configure the Intel VTune Profiler on Fedora to use advanced analysis such as the Memory Access tool

Did you find this page helpful?