How To Install cxl-cli on Fedora 36

In this tutorial we learn how to install cxl-cli in Fedora 36. cxl-cli is Manage CXL devices

Introduction

In this tutorial we learn how to install cxl-cli on Fedora 36.

What is cxl-cli

The cxl utility provides enumeration and provisioning commands for the Linux kernel CXL devices.

We can use yum or dnf to install cxl-cli on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cxl-cli.

Install cxl-cli on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install cxl-cli using dnf by running the following command:

sudo dnf -y install cxl-cli

Install cxl-cli on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cxl-cli using yum by running the following command:

sudo yum -y install cxl-cli

How To Uninstall cxl-cli on Fedora 36

To uninstall only the cxl-cli package we can use the following command:

sudo dnf remove cxl-cli

cxl-cli Package Contents on Fedora 36

/usr/bin/cxl
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/53ca25067fc95d9604a50520a0225ea110589b
/usr/share/bash-completion/completions/cxl
/usr/share/licenses/cxl-cli
/usr/share/licenses/cxl-cli/CC0-1.0
/usr/share/licenses/cxl-cli/GPL-2.0
/usr/share/licenses/cxl-cli/MIT
/usr/share/man/man1/cxl-disable-memdev.1.gz
/usr/share/man/man1/cxl-disable-port.1.gz
/usr/share/man/man1/cxl-enable-memdev.1.gz
/usr/share/man/man1/cxl-enable-port.1.gz
/usr/share/man/man1/cxl-list.1.gz
/usr/share/man/man1/cxl-read-labels.1.gz
/usr/share/man/man1/cxl-set-partition.1.gz
/usr/share/man/man1/cxl-write-labels.1.gz
/usr/share/man/man1/cxl-zero-labels.1.gz
/usr/share/man/man1/cxl.1.gz

References

Summary

In this tutorial we learn how to install cxl-cli on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).