How to Install and Uninstall libpfm4 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "libpfm4" package

This is a short guide on how to install libpfm4 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libpfm4

2. Uninstall "libpfm4" package

In this section, we are going to explain the necessary steps to uninstall libpfm4 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libpfm4 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpfm4 package on Ubuntu 21.04 (Hirsute Hippo)

Package: libpfm4
Architecture: amd64
Version: 4.11.1+git8-gc96ebc0-1
Multi-Arch: same
Priority: extra
Section: universe/libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian HPC Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2563
Depends: libc6 (>= 2.14)
Breaks: libpapi5 (<< 5.5.1-2~), pcp (<< 3.11.10~)
Filename: pool/universe/libp/libpfm4/libpfm4_4.11.1+git8-gc96ebc0-1_amd64.deb
Size: 277752
MD5sum: 4ce0cb0980e45a92746854c296da6ab2
SHA1: 1b69953111eabde4f69fe2616d7b8cbf666c6c65
SHA256: 735d35db1681fe6bd8dd09bb562d9c8f71b790254ff3db5704b5bb3e6906a163
SHA512: 1ab96d853c8cf7821e12d4355fb534ee7608946d9876692d0138281709870b9635fb25dafb39a8a882dbc96874c68d4b88126de16df4c7a4496f491bd657dee1
Homepage: http://perfmon2.sourceforge.net/
Description-en: Library to program the performance monitoring events
Libpfm4 helps convert from an event name, expressed as a string, to
the event encoding. The encoding can then be used with specific OS
interfaces. Libpfm4 also provides OS-specific interfaces to directly
setup OS-specific data structures to be passed to the kernel. The
current libpfm4, for instance, provides support for the perf_events
interface which was introduced in Linux v2.6.31.
.
This package provides the shared library.
Description-md5: 0bcc80034d18de9750e5f9ac06aedd9b