How To Install pcm on Fedora 34
Introduction
In this tutorial we learn how to install pcm
on Fedora 34.
What is pcm
Processor Counter Monitor (PCM) is an application programming interface (API) and a set of tools based on the API to monitor performance and energy metrics of Intel(r) Core(tm), Xeon(r), Atom(tm) and Xeon Phi(tm) processors. PCM works on Linux, Windows, Mac OS X, FreeBSD and DragonFlyBSD operating systems.
We can use yum
or dnf
to install pcm
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pcm.
Install pcm on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pcm
using dnf
by running the following command:
sudo dnf -y install pcm
Install pcm on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pcm
using yum
by running the following command:
sudo yum -y install pcm
How To Uninstall pcm on Fedora 34
To uninstall only the pcm
package we can use the following command:
sudo dnf remove pcm
pcm Package Contents on Fedora 34
/usr/bin/pcm-client
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/7d2a2253d9681f6ef485bf38923a1ceea6f288
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/2b37f0365a5994e2658ce141317bf15f41be4e
/usr/lib/.build-id/20
/usr/lib/.build-id/20/db9c7a7e9e2907b34d9ad8473c7b4a8790333d
/usr/lib/.build-id/50
/usr/lib/.build-id/50/e5d7eefc3aac9487546698b82deac51325133e
/usr/lib/.build-id/52
/usr/lib/.build-id/52/926beefc783558a86b57cae94c17839c0e2ccd
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/d41ad02642877e26c1ffce3fc9da4bbabf442b
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/7b109950563210028ae7308577dc62476a91be
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/223e25aa4e5f87594e8f96fabea2f340af0b91
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/5240eb33adefc6583c525144758d525c7ce8ae
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/c2a91cc58c0faab61a2b98247c33974c036ea3
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/1448cc835536b7e5d5c24cc5e67d6bc9c31dab
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/39be2768855d592611f35e006ed83b5bd8b36f
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/24c71a4afbefdbe15dc44e2575b21dc3621ad0
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/2fa8a9a7bc437da1207627aac550a473748317
/usr/lib/.build-id/da
/usr/lib/.build-id/da/66d04f42e2c0798c5409f41f3f1d1531bbfd0c
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/b1d95cb2f3fc8c442417a18104fca450a2c390
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/c27d0080a8329c3c6f56d8a1e6c2b7298295f7
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/2628e44c09a49c337f13b8033f4e90f1cbb3d9
/usr/sbin/pcm
/usr/sbin/pcm-bw-histogram
/usr/sbin/pcm-core
/usr/sbin/pcm-daemon
/usr/sbin/pcm-iio
/usr/sbin/pcm-latency
/usr/sbin/pcm-lspci
/usr/sbin/pcm-memory
/usr/sbin/pcm-mmio
/usr/sbin/pcm-msr
/usr/sbin/pcm-numa
/usr/sbin/pcm-pcicfg
/usr/sbin/pcm-pcie
/usr/sbin/pcm-power
/usr/sbin/pcm-raw
/usr/sbin/pcm-sensor
/usr/sbin/pcm-sensor-server
/usr/sbin/pcm-tsx
/usr/share/doc/pcm
/usr/share/doc/pcm/FAQ.md
/usr/share/doc/pcm/LINUX_HOWTO.txt
/usr/share/doc/pcm/README.md
/usr/share/licenses/pcm
/usr/share/licenses/pcm/license.txt
/usr/share/pcm
/usr/share/pcm/opCode-106.txt
/usr/share/pcm/opCode-134.txt
/usr/share/pcm/opCode-85.txt
References
Summary
In this tutorial we learn how to install pcm
on Fedora 34 using yum and dnf.