好吧,我说错了。应该说STH上的方法不适合16.x。按照那个方法如果在xenial或以后版本上安装,就就会出现@共产主义接班人 遇到的现在文件不全,从而报“command not found”的错。
A Debian based package for nvme-cli is currently maintained as a Ubuntu PPA. Right now there is support for Trusty, Vivid and Wiley. To install nvme-cli using this approach please perform the following steps:
- Add the sbates PPA to your sources. One way to do this is to run sudo add-apt-repository ppa:sbates
- Perform an update of your repository list: sudo apt-get update
- Get nvme-cli! sudo apt-get install nvme-cli
- Test the code. sudo nvme list In the case of no NVMe devices you will see No NVMe devices detected. otherwise you will see information about each NVMe device installed in the system.
|