Installing the Lightbits NVMe Command Line Interface (Ubuntu)

The NVMe command line interface (CLI) is a standard command line interface to run NVMe over fabrics commands from the client. Lightbits provides a customized NVMe CLI for Lightbits that will be available in future versions of the public/upstream NVMe CLI version.

These instructions will work on any Lightbits client's side deb that you want to install on your client.

  1. (Optional) If a public NVMe CLI version is installed on your system, you can replace it with the NVMe CLI version supplied by Lightbits. Before installing the supplied NVMe CLI from the Lightbits repository, you'll need to remove the public NVMe cli from your system. To check if you have an NVMe CLI package installed, enter the following in the system’s command shell:

$ apt list --installed |grep nvme-cli

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

nvme-cli/bionic-updates,now 1.5-1ubuntu1 amd64 [installed]

  1. (Optional) If the command returns this value, you need to delete the NVMe CLI package from your system with the following command:

$ apt-get remove nvme-cli

  1. With the public NVMe CLI version deleted from the system, you can install the NVMe CLI from the Lightbits RPM repository by entering the following in the system’s command shell:

$ apt-get install nvme-cli

  1. Enter the following command to verify that the NVMe CLI version is v1.9-1.

$ apt list --installed |grep nvme-cli

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

nvme-cli/xenial,now 1.9~2.3.4-1~bionic amd64 [installed]

The output for this command can include additional package names with the nvme string.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard