The cxl-cli utility is available in many Linux distribution package repositories. This approach is the easiest to use and maintain, compared with installing cxl-cli from source code. The cxl-cli utility is maintained in the ndctl GitHub repository.
1) Query the repository to confirm if the cxl-cli package is available:
dnf search cxl-cli
2) Install the cxl-cli package
dnf install cxl-cli
The cxl-cli package is available on CentOS, RHEL, RHEL for SAP HANA 7.0 or later.
1) Query the repository to identify if the cxl-cli package is available:
yum search cxl-cli
- or -
dnf search cxl-cli
2) Install cxl-cli package
yum install cxl-cli
- or -
dnf install cxl-cli
The cxl-cli package is available for OpenSUSE, SUSE Linux Enterprise Server (SLES), and SLES for SAP HANA v12.4 or later.
1) Query the repository to identify if ndctl and daxctl are available:
sudo zypper search cxl-cli
2) Install the cxl-cli package
sudo zypper install cxl-cli
The cxl-cli packlage are available on Ubuntu 18.10 (Cosmic Cuttlefish) or later.
1) Query the repository to identify if the cxl-cli package is available:
apt search cxl-cli
2) Verify if the cxl-cli package is currently installed and check the version
apt list --installed cxl-cli
3) Install the cxl-cli package or update an installed package
sudo apt install cxl-cli
1) Query available versions in configured repositories:
apt policy cxl-cli
2) Query the repository to identify if cxl-cli is available:
apt search cxl-cli
3) Verify if the cxl-cli package is currently installed and check the version
apt list --installed cxl-cli
4) Install the cxl-cli package or update an installed package