| 1 |
Installation |
| 2 |
============ |
| 3 |
|
| 4 |
Debian / Ubuntu: |
| 5 |
---------------- |
| 6 |
|
| 7 |
.. code-block:: sh |
| 8 |
|
| 9 |
$ apt-get install libnvme |
| 10 |
|
| 11 |
Fedora / Red Hat: |
| 12 |
----------------- |
| 13 |
|
| 14 |
.. code-block:: sh |
| 15 |
|
| 16 |
$ dnf install libnvme |
| 17 |
|
| 18 |
Python binding |
| 19 |
-------------- |
| 20 |
|
| 21 |
Python Version |
| 22 |
^^^^^^^^^^^^^^ |
| 23 |
|
| 24 |
The latest Python 3 version is always recommended, since it has all |
| 25 |
the latest bells and whistles. libnvme supports Python 3.6 and above. |
| 26 |
|
| 27 |
Dependencies |
| 28 |
^^^^^^^^^^^^ |
| 29 |
|
| 30 |
libnvme only uses packages from the standard library, so no additional |
| 31 |
dependencies will be installed when installing libnvme. |
| 32 |
|
| 33 |
Install libnvme python |
| 34 |
^^^^^^^^^^^^^^^^^^^^^^ |
| 35 |
|
| 36 |
Debian / Ubuntu: |
| 37 |
|
| 38 |
.. code-block:: sh |
| 39 |
|
| 40 |
$ apt-get install python3-libnvme |
| 41 |
|
| 42 |
Fedora / Red Hat: |
| 43 |
|
| 44 |
.. code-block:: sh |
| 45 |
|
| 46 |
$ dnf install python3-libnvme |
| 47 |
|
| 48 |
libnvme is available on `PyPI`_, and can be installed using pip. The |
| 49 |
version on PyPI is always the latest stable release. |
| 50 |
|
| 51 |
.. _PyPi: https://pypi.org/project/libnvme/ |
| 52 |
|
| 53 |
.. code-block:: sh |
| 54 |
|
| 55 |
$ pip install libnvme |